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。謝謝。但爲什麼在過去的規範傳遞? –
我猜他們改變了?通常會發生這種情況,比如'新版本'和其他東西。主要版本通常有這樣的深刻變化。 –