diff options
author | Phil Hughes <me@iamphill.com> | 2018-04-25 20:34:48 +0300 |
---|---|---|
committer | Phil Hughes <me@iamphill.com> | 2018-04-25 20:34:48 +0300 |
commit | 8b321679db776840da70a6a7c0cdd571b59d4978 (patch) | |
tree | 7b277853ba94905f55f3d043e28a74ae6223637d /spec/helpers/blob_helper_spec.rb | |
parent | 1d9540cc0db6c9269621263b9717aaabbd306cc9 (diff) |
fixed rubocop
Diffstat (limited to 'spec/helpers/blob_helper_spec.rb')
-rw-r--r-- | spec/helpers/blob_helper_spec.rb | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/spec/helpers/blob_helper_spec.rb b/spec/helpers/blob_helper_spec.rb index 419dc091a62..8de615ad8c2 100644 --- a/spec/helpers/blob_helper_spec.rb +++ b/spec/helpers/blob_helper_spec.rb @@ -246,8 +246,8 @@ describe BlobHelper do describe '#ide_edit_path' do let(:project) { create(:project) } - around(:each) do |example| - old_script_name = Rails.application.routes.default_url_options[:script_name] + around do |example| + old_script_name = Rails.application.routes.default_url_options[:script_name] begin example.run ensure |