Fix notes spec.
This commit is contained in:
parent
a1d1a41479
commit
56293399e6
1 changed files with 2 additions and 4 deletions
|
@ -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
|
||||
|
|
Loading…
Reference in a new issue