test/support/integration.rb in devise-1.1.7 vs test/support/integration.rb in devise-1.1.8

- old
+ new

@@ -7,10 +7,10 @@ def create_user(options={}) @user ||= begin user = User.create!( :username => 'usertest', - :email => 'user@test.com', + :email => options[:email] || 'user@test.com', :password => '123456', :password_confirmation => '123456', :created_at => Time.now.utc ) user.confirm! unless options[:confirm] == false