From bed380fffdcceef67869abb6a71769c600203873 Mon Sep 17 00:00:00 2001 From: kikito Date: Mon, 27 Jul 2015 19:22:05 +0200 Subject: [PATCH] Make the comment button appear by clicking in "Comentar" in the test --- spec/features/comments_spec.rb | 2 ++ 1 file changed, 2 insertions(+) diff --git a/spec/features/comments_spec.rb b/spec/features/comments_spec.rb index ec0142651..c266a0185 100644 --- a/spec/features/comments_spec.rb +++ b/spec/features/comments_spec.rb @@ -26,6 +26,8 @@ feature 'Comments' do login_as(user) visit debate_path(debate) + click_on 'Comentar' + fill_in 'comment_body', with: '¿Has pensado en esto...?' click_button 'Publicar comentario'