Commit 1420310b6a025dd3c6a370b30ffb75801084dc2b
1 parent
00b6eed0
Exists in
master
and in
29 other branches
Fix 1 unit test from Contact model
Showing
2 changed files
with
2 additions
and
2 deletions
Show diff stats
HACKING.rails235
test/unit/contact_test.rb
... | ... | @@ -22,7 +22,7 @@ class ContactTest < ActiveSupport::TestCase |
22 | 22 | should 'validates format of email only if not empty' do |
23 | 23 | contact = Contact.new |
24 | 24 | contact.valid? |
25 | - assert_match /^.* can't be blank$/, contact.errors[:email] | |
25 | + assert_match /^can't be blank$/, contact.errors[:email] | |
26 | 26 | end |
27 | 27 | |
28 | 28 | should 'inicialize fields on instanciate' do | ... | ... |