MiXeD case email test, I decided the problem was with the test

This commit is contained in:
Anthony Davis 2013-11-11 23:56:04 -06:00
parent 64509f8592
commit a3dff94f47
1 changed files with 1 additions and 1 deletions

View File

@ -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