fixes spacing

This commit is contained in:
rgarcia
2015-08-16 22:45:43 +02:00
parent 57530926a1
commit bea38226fe
17 changed files with 72 additions and 72 deletions

View File

@@ -26,7 +26,7 @@ feature 'Comments' do
visit debate_path(debate)
expect(page).to have_content 'Log in to participate'
within ('#comments') do
within('#comments') do
expect(page).to_not have_content 'Write a comment'
expect(page).to_not have_content 'Reply'
expect(page).to_not have_css('form')
@@ -77,7 +77,7 @@ feature 'Comments' do
click_button 'Publish reply'
end
within "#comment-#{comment.id}" do
within("#comment-#{comment.id}") do
expect(page).to have_content 'It will be done next week.'
end