fix test ("I removed the '1 new question' display")

This commit is contained in:
pixeldesu 2015-06-08 21:57:24 +02:00
parent 341372d874
commit a213e53157
1 changed files with 0 additions and 4 deletions

View File

@ -23,10 +23,6 @@ feature "Inbox", :devise do
Inbox.create question: question, user: me, new: true
login_as me, scope: :user
visit root_path
expect(page).to have_text('1 new question'.upcase)
page.driver.render Rails.root.join("tmp/#{Time.now.to_i}_1.png"), full: true
click_link "Inbox"
expect(page).to have_text(question.content)
fill_in "ib-answer", with: Faker::Lorem.sentence