Welcome to mirror list, hosted at ThFree Co, Russian Federation.

gitlab.com/gitlab-org/gitlab-foss.git - Unnamed repository; edit this file 'description' to name the repository.
summaryrefslogtreecommitdiff
path: root/spec
diff options
context:
space:
mode:
authorPhil Hughes <me@iamphill.com>2018-04-25 20:34:48 +0300
committerPhil Hughes <me@iamphill.com>2018-04-25 20:34:48 +0300
commit8b321679db776840da70a6a7c0cdd571b59d4978 (patch)
tree7b277853ba94905f55f3d043e28a74ae6223637d /spec
parent1d9540cc0db6c9269621263b9717aaabbd306cc9 (diff)
fixed rubocop
Diffstat (limited to 'spec')
-rw-r--r--spec/helpers/blob_helper_spec.rb4
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