fix test, the second

This commit is contained in:
pixeldesu 2015-06-08 22:01:03 +02:00
parent a213e53157
commit 6adebde7da
1 changed files with 2 additions and 0 deletions

View File

@ -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