public
Description: El Dorado is a full-stack community web application written in Ruby/Rails.
Homepage: http://almosteffortless.com/eldorado/
Clone URL: git://github.com/trevorturk/el-dorado.git
added new test conditions for changes to new user registration
Elk (author)
Thu May 08 15:59:05 -0700 2008
commit  4c88596a2bcc67b35f50d956116041c5cfac66f2
tree    8b91a11421fe832514eec2a1e6aa6a389fee9cb6
parent  678fb74cd4f28da36e25c5937f919d45db09a498
...
13
14
15
 
 
16
17
18
...
13
14
15
16
17
18
19
20
0
@@ -13,6 +13,8 @@ class UserTest < Test::Unit::TestCase
0
     u = User.create(:login => "test", :email => "email", :password => "sdlfkj", :password_confirmation => '')
0
     assert ! u.valid?
0
     u = User.create(:login => "test", :email => "email", :password => "sdlfkj", :password_confirmation => "sdlfkj")
0
+ assert ! u.valid?
0
+ u = User.create(:login => "test", :email => "email@address.com", :password => "sdlfkj", :password_confirmation => "sdlfkj")
0
     assert u.valid?
0
   end
0
     

Comments

    No one has commented yet.