0
后失败我有很简单的规范,看起来像这样:规格升级到Rails的5 RC1
scenario 'show error message' do
expect(page).to have_text 'Invalid email or password.'
end
升级到Rails 5 RC1失败后:
1) Sign in when email and password are invalid show error message
Failure/Error: expect(page).to have_text 'Invalid email or password.'
expected to find text "Invalid email or password." in "× Invalid Email or password. Sign in Please fill the form to sign in to your account * Email * Password Remember me (if this is a private computer) Forgot password? Copyright @ 2016"
测试是路过on Rails的5素β3。
任何想法?
OMG。谢谢。但为什么在过去的规范传递? –
我猜他们改变了?通常会发生这种情况,比如'新版本'和其他东西。主要版本通常有这样的深刻变化。 –