MiXeD case email test, I decided the problem was with the test
This commit is contained in:
parent
64509f8592
commit
a3dff94f47
|
|
@ -120,7 +120,7 @@ describe User do
|
|||
it "should be saved as all lower-case" do
|
||||
@user.email = mixed_case_email
|
||||
@user.save!
|
||||
@user.reload.email.should == mixed_case_email
|
||||
@user.reload.email.should == mixed_case_email.downcase
|
||||
end
|
||||
end
|
||||
|
||||
|
|
|
|||
Loading…
Reference in New Issue