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/features/notes_on_merge_requests_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/features/notes_on_merge_requests_spec.rb')
-rw-r--r-- | spec/features/notes_on_merge_requests_spec.rb | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/spec/features/notes_on_merge_requests_spec.rb b/spec/features/notes_on_merge_requests_spec.rb index c47368b1fda..b69b59d4158 100644 --- a/spec/features/notes_on_merge_requests_spec.rb +++ b/spec/features/notes_on_merge_requests_spec.rb @@ -90,7 +90,7 @@ describe 'Comments' do #within(".current-note-edit-form") do #fill_in "note[note]", with: "Some new content" #find(".btn-cancel").click - #find(".js-note-text", visible: false).text.should == note.note + #expect(find(".js-note-text", visible: false).text).to eq note.note #end #end |