test/test_helper.rb in quo_vadis-1.0.7 vs test/test_helper.rb in quo_vadis-1.1.0

- old
+ new

@@ -40,11 +40,16 @@ def user_factory(name, username, password, email = nil) User.create! :name => name, :username => username, :password => password, :email => email end +def person_factory(name, username, password, email = nil) + Person.create! :name => name, :username => username, :password => password, :email => email +end + def reset_quo_vadis_configuration QuoVadis.signed_in_url = :root + QuoVadis.cookie_domain = :all QuoVadis.override_original_url = false QuoVadis.signed_out_url = :root QuoVadis.signed_in_hook = nil QuoVadis.failed_sign_in_hook = nil QuoVadis.signed_out_hook = nil