From 8b321679db776840da70a6a7c0cdd571b59d4978 Mon Sep 17 00:00:00 2001 From: Phil Hughes Date: Wed, 25 Apr 2018 18:34:48 +0100 Subject: [PATCH] fixed rubocop --- spec/helpers/blob_helper_spec.rb | 4 ++-- 1 file 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