summaryrefslogtreecommitdiff
path: root/spec/models/project_spec.rb
diff options
context:
space:
mode:
authorRémy Coutable <remy@rymai.me>2017-06-29 18:03:17 +0200
committerRémy Coutable <remy@rymai.me>2017-06-30 17:52:27 +0200
commit1b0c6ffd512d0bee24964936da02e1b10d6a5a67 (patch)
treee60bf4570de0b5088aa3e603aab6d7ecd0516476 /spec/models/project_spec.rb
parentd52034b2054bbefebeaf4771a87b57dfe4fc7c86 (diff)
downloadgitlab-ce-1b0c6ffd512d0bee24964936da02e1b10d6a5a67.tar.gz
Disable RSpec/BeforeAfterAll and enable RSpec/ImplicitExpect copsenable-a-few-rubocop-rspec-cops
Signed-off-by: Rémy Coutable <remy@rymai.me>
Diffstat (limited to 'spec/models/project_spec.rb')
-rw-r--r--spec/models/project_spec.rb4
1 files changed, 2 insertions, 2 deletions
diff --git a/spec/models/project_spec.rb b/spec/models/project_spec.rb
index 1390848ff4a..f9b702c54aa 100644
--- a/spec/models/project_spec.rb
+++ b/spec/models/project_spec.rb
@@ -823,13 +823,13 @@ describe Project, models: true do
let(:avatar_path) { "/#{project.full_path}/avatar" }
- it { should eq "http://#{Gitlab.config.gitlab.host}#{avatar_path}" }
+ it { is_expected.to eq "http://#{Gitlab.config.gitlab.host}#{avatar_path}" }
end
context 'when git repo is empty' do
let(:project) { create(:empty_project) }
- it { should eq nil }
+ it { is_expected.to eq nil }
end
end