summaryrefslogtreecommitdiff
path: root/spec/features/notes_on_merge_requests_spec.rb
diff options
context:
space:
mode:
authorFatih Acet <acetfatih@gmail.com>2016-12-09 00:49:32 +0300
committerFatih Acet <acetfatih@gmail.com>2017-01-04 23:37:54 +0300
commit183a52f8e1454a0268993baca5b1a6793d9150f9 (patch)
tree3fc45b11c36c21f44723f0ee335c4aa4a50c009b /spec/features/notes_on_merge_requests_spec.rb
parent0143573dd5f8d180b2824433a1ce5cdab42fe3d4 (diff)
downloadgitlab-ce-183a52f8e1454a0268993baca5b1a6793d9150f9.tar.gz
Fix single note edit form specs.
Diffstat (limited to 'spec/features/notes_on_merge_requests_spec.rb')
-rw-r--r--spec/features/notes_on_merge_requests_spec.rb3
1 files changed, 2 insertions, 1 deletions
diff --git a/spec/features/notes_on_merge_requests_spec.rb b/spec/features/notes_on_merge_requests_spec.rb
index 7c62e510392..d93f1ef8f81 100644
--- a/spec/features/notes_on_merge_requests_spec.rb
+++ b/spec/features/notes_on_merge_requests_spec.rb
@@ -71,7 +71,8 @@ describe 'Comments', feature: true do
describe 'when editing a note', js: true do
it 'there should be a hidden edit form' do
- is_expected.to have_css('.note-edit-form', visible: false, count: 1)
+ is_expected.to have_css('.note-edit-form:not(.mr-note-edit-form)', visible: false, count: 1)
+ is_expected.to have_css('.note-edit-form.mr-note-edit-form', visible: false, count: 1)
end
describe 'editing the note' do