diff options
author | Rémy Coutable <remy@rymai.me> | 2017-06-29 18:03:17 +0200 |
---|---|---|
committer | Rémy Coutable <remy@rymai.me> | 2017-06-30 17:52:27 +0200 |
commit | 1b0c6ffd512d0bee24964936da02e1b10d6a5a67 (patch) | |
tree | e60bf4570de0b5088aa3e603aab6d7ecd0516476 /spec/models/project_services/external_wiki_service_spec.rb | |
parent | d52034b2054bbefebeaf4771a87b57dfe4fc7c86 (diff) | |
download | gitlab-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_services/external_wiki_service_spec.rb')
-rw-r--r-- | spec/models/project_services/external_wiki_service_spec.rb | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/spec/models/project_services/external_wiki_service_spec.rb b/spec/models/project_services/external_wiki_service_spec.rb index 291fc645a1c..ef10df9e092 100644 --- a/spec/models/project_services/external_wiki_service_spec.rb +++ b/spec/models/project_services/external_wiki_service_spec.rb @@ -3,8 +3,8 @@ require 'spec_helper' describe ExternalWikiService, models: true do include ExternalWikiHelper describe "Associations" do - it { should belong_to :project } - it { should have_one :service_hook } + it { is_expected.to belong_to :project } + it { is_expected.to have_one :service_hook } end describe 'Validations' do |