mirror of
https://github.com/TracksApp/tracks.git
synced 2026-01-04 08:18:50 +01:00
More fixed tests
This commit is contained in:
parent
efee4976b0
commit
149dbe7e27
4 changed files with 16 additions and 15 deletions
|
|
@ -98,7 +98,7 @@ class UserTest < ActiveSupport::TestCase
|
|||
def test_validate_email_format
|
||||
assert_no_difference 'User.count' do
|
||||
u = create_user :email=> 'test'
|
||||
assert_equal "is not valid", u.errors[:email]
|
||||
assert_equal ["is not valid"], u.errors[:email]
|
||||
end
|
||||
end
|
||||
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue