From fb5211f25159c60e4eccda9d786b3202f70c35d8 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Mar=C3=ADa=20Checa?= Date: Thu, 7 Sep 2017 17:51:55 +0200 Subject: [PATCH] Fixed test --- spec/features/polls/questions_spec.rb | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/spec/features/polls/questions_spec.rb b/spec/features/polls/questions_spec.rb index 7368c7857..1563ca81a 100644 --- a/spec/features/polls/questions_spec.rb +++ b/spec/features/polls/questions_spec.rb @@ -41,7 +41,7 @@ feature 'Poll Questions' do visit question_path(normal_question) - expect(page).to have_link(document.title) + expect(page).to have_content(document.title) end context 'Answering' do