2016-05-12 4 views
0

をアップグレードした後失敗:5 RC1をレールにアップグレードした後、それが失敗したスペックは、私はこのようになります非常に単純なスペック持ってレールに5 RC1

scenario 'show error message' do 
    expect(page).to have_text 'Invalid email or password.' 
end 

を:

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" 

テストはRailsの5に渡していますβ3。

アイデア?

答えて

1

メールは現在大文字になりました。スペックでそれを変更してください(または、より良い耐性テストを使用して、これが再び起こることはありません)。

+0

OMG。ありがとう。しかし、なぜ過去の仕様が合格したのでしょうか? –

+1

私は彼らがそれを変更したと思いますか?これは通常、「新しいバージョン」やもののように起こることです。メジャーリリースでは、このような深刻な変化がしばしばあります。 –

関連する問題