diff options
author | Robert Speicher <robert@gitlab.com> | 2016-08-08 23:31:00 +0000 |
---|---|---|
committer | Robert Speicher <robert@gitlab.com> | 2016-08-08 23:31:00 +0000 |
commit | 900c67bfb91aa984042e556516a7369b40766be7 (patch) | |
tree | b4fdb05075293b32bf6445f9e796e4deb1d96bac /spec/lib/gitlab/import_export | |
parent | fa95d9e48bcbe6c0958d8faf2906ec1c3482440b (diff) | |
parent | 65871dfda5fe864c58e6b373408bca372b3c6c06 (diff) | |
download | gitlab-ce-900c67bfb91aa984042e556516a7369b40766be7.tar.gz |
Merge branch 'rubocop/enable-more-cops-for-empty-lines' into 'master'
Enable some Rubocop cops related to new lines
## What does this MR do?
This MR enabled two additional Rubocop cops:
Keeps track of empty lines around block bodies.
`Style/EmptyLinesAroundBlockBody`
Keeps track of empty lines around method bodies.
` Style/EmptyLinesAroundMethodBody`
See merge request !5637
Diffstat (limited to 'spec/lib/gitlab/import_export')
-rw-r--r-- | spec/lib/gitlab/import_export/project_tree_restorer_spec.rb | 1 |
1 files changed, 0 insertions, 1 deletions
diff --git a/spec/lib/gitlab/import_export/project_tree_restorer_spec.rb b/spec/lib/gitlab/import_export/project_tree_restorer_spec.rb index 32c0d6462f1..5fdd4d5f25f 100644 --- a/spec/lib/gitlab/import_export/project_tree_restorer_spec.rb +++ b/spec/lib/gitlab/import_export/project_tree_restorer_spec.rb @@ -2,7 +2,6 @@ require 'spec_helper' describe Gitlab::ImportExport::ProjectTreeRestorer, services: true do describe 'restore project tree' do - let(:user) { create(:user) } let(:namespace) { create(:namespace, owner: user) } let(:shared) { Gitlab::ImportExport::Shared.new(relative_path: "", project_path: 'path') } |