test/helpers/user_test_helper.rb in radiant-0.6.0 vs test/helpers/user_test_helper.rb in radiant-0.6.1

- old
+ new

@@ -1,10 +1,11 @@ module UserTestHelper VALID_USER_PARAMS = { :name => 'John Doe', :login => 'jdoe', :password => 'coolness', - :password_confirmation => 'coolness' + :password_confirmation => 'coolness', + :email => 'jdoe@gmail.com' } def user_params(options = {}) params = VALID_USER_PARAMS.dup params.merge!(:login => @user_login) if @user_login \ No newline at end of file