fix test, the second
This commit is contained in:
parent
a213e53157
commit
6adebde7da
|
@ -23,6 +23,8 @@ feature "Inbox", :devise do
|
||||||
Inbox.create question: question, user: me, new: true
|
Inbox.create question: question, user: me, new: true
|
||||||
|
|
||||||
login_as me, scope: :user
|
login_as me, scope: :user
|
||||||
|
visit root_path
|
||||||
|
|
||||||
click_link "Inbox"
|
click_link "Inbox"
|
||||||
expect(page).to have_text(question.content)
|
expect(page).to have_text(question.content)
|
||||||
fill_in "ib-answer", with: Faker::Lorem.sentence
|
fill_in "ib-answer", with: Faker::Lorem.sentence
|
||||||
|
|
Loading…
Reference in New Issue