Commit 1420310b6a025dd3c6a370b30ffb75801084dc2b

Authored by Joenio Costa
1 parent 00b6eed0

Fix 1 unit test from Contact model

Showing 2 changed files with 2 additions and 2 deletions   Show diff stats
HACKING.rails235
... ... @@ -6,7 +6,7 @@ Install dependencies:
6 6 gem install rails -v 2.3.5
7 7 gem install ferret
8 8 gem install i18n
9   -gem install will_paginate
  9 +gem install will_paginate -v 2.3.12
10 10 gem install cucumber
11 11  
12 12 Creating initial environment:
... ...
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
... ...