Commit 56293399 authored by Fatih Acet's avatar Fatih Acet

Fix notes spec.

parent a1d1a414
......@@ -70,10 +70,8 @@ describe 'Comments', feature: true do
end
describe 'when editing a note', js: true do
it 'contains the hidden edit form' do
page.within("#note_#{note.id}") do
is_expected.to have_css('.note-edit-form', visible: false)
end
it 'there should be a hidden edit form' do
is_expected.to have_css('.note-edit-form', visible: false, count: 1)
end
describe 'editing the note' do
......
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment