diff options
author | Robert Speicher <rspeicher@gmail.com> | 2015-06-13 18:24:51 -0400 |
---|---|---|
committer | Robert Speicher <rspeicher@gmail.com> | 2015-06-13 18:37:30 -0400 |
commit | 422236c71eb8f1c88e83331b6eb74211fd7ccf49 (patch) | |
tree | 45066da8510fcd65d87eaa390261be94fb58c457 /spec/models/external_wiki_service_spec.rb | |
parent | 75a40ad5bcee37f43fcfe89789dbd8c65be56c21 (diff) | |
download | gitlab-ce-422236c71eb8f1c88e83331b6eb74211fd7ccf49.tar.gz |
Change `foo.should` syntax to `expect(foo).to` in specs
Diffstat (limited to 'spec/models/external_wiki_service_spec.rb')
-rw-r--r-- | spec/models/external_wiki_service_spec.rb | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/spec/models/external_wiki_service_spec.rb b/spec/models/external_wiki_service_spec.rb index f2e77fc88c4..4bd5b0be61c 100644 --- a/spec/models/external_wiki_service_spec.rb +++ b/spec/models/external_wiki_service_spec.rb @@ -52,7 +52,7 @@ describe ExternalWikiService do it 'should replace the wiki url' do wiki_path = get_project_wiki_path(project) - wiki_path.should match('https://gitlab.com') + expect(wiki_path).to match('https://gitlab.com') end end end |