fixes bug that hides comment form after reply

Closes #160
This commit is contained in:
Juanjo Bazán
2015-08-13 18:27:16 +02:00
committed by Juanjo Bazán
parent d832d41209
commit f2ea7fd95e
2 changed files with 4 additions and 4 deletions

View File

@@ -70,7 +70,7 @@ feature 'Comments' do
expect(page).to have_content 'It will be done next week.'
end
expect(page).to have_selector("#js-comment-form-comment_#{comment.id}", visible: true)
expect(page).to_not have_selector("#js-comment-form-comment_#{comment.id}", visible: true)
end
scenario "N replies", :js do