Modifies test for not logged users
This commit is contained in:
@@ -33,7 +33,6 @@ en:
|
||||
index:
|
||||
create_debate: Create a debate
|
||||
showing: You are seeing debates
|
||||
tag: with the topic
|
||||
filter_news: the newest
|
||||
filter_votes: the most voted
|
||||
filter_rated: the best rated
|
||||
@@ -79,7 +78,6 @@ en:
|
||||
zero: No comments
|
||||
one: 1 Comment
|
||||
other: "%{count} Comments"
|
||||
leave_comment: Write a comment
|
||||
login_to_comment: "You need to %{signin} or %{signup} to comment."
|
||||
edit_debate_link: Edit
|
||||
share: Share
|
||||
|
||||
@@ -78,7 +78,6 @@ es:
|
||||
zero: Sin comentarios
|
||||
one: 1 Comentario
|
||||
other: "%{count} Comentarios"
|
||||
leave_comment: Deja tu comentario
|
||||
login_to_comment: "Necesitas %{signin} o %{signup} para comentar."
|
||||
edit_debate_link: Editar
|
||||
share: Compartir
|
||||
|
||||
@@ -43,7 +43,7 @@ feature 'Comments' do
|
||||
create(:comment, commentable: debate)
|
||||
visit debate_path(debate)
|
||||
|
||||
expect(page).to have_content 'Log in to participate'
|
||||
expect(page).to have_content 'You need to sign in or sign up to comment'
|
||||
within('#comments') do
|
||||
expect(page).to_not have_content 'Write a comment'
|
||||
expect(page).to_not have_content 'Reply'
|
||||
|
||||
Reference in New Issue
Block a user