From 6adebde7da8e8db093cdf5a5456ae2cd174eed1d Mon Sep 17 00:00:00 2001 From: pixeldesu Date: Mon, 8 Jun 2015 22:01:03 +0200 Subject: [PATCH] fix test, the second --- spec/features/users/inbox_spec.rb | 2 ++ 1 file changed, 2 insertions(+) diff --git a/spec/features/users/inbox_spec.rb b/spec/features/users/inbox_spec.rb index f8181f04..573c55de 100644 --- a/spec/features/users/inbox_spec.rb +++ b/spec/features/users/inbox_spec.rb @@ -23,6 +23,8 @@ feature "Inbox", :devise do Inbox.create question: question, user: me, new: true login_as me, scope: :user + visit root_path + click_link "Inbox" expect(page).to have_text(question.content) fill_in "ib-answer", with: Faker::Lorem.sentence