aboutsummaryrefslogtreecommitdiffstats
path: root/spec/support/devise.rb
diff options
context:
space:
mode:
Diffstat (limited to 'spec/support/devise.rb')
-rw-r--r--spec/support/devise.rb4
1 files changed, 2 insertions, 2 deletions
diff --git a/spec/support/devise.rb b/spec/support/devise.rb
index b50f3a71a..8713e96fa 100644
--- a/spec/support/devise.rb
+++ b/spec/support/devise.rb
@@ -3,7 +3,7 @@ module DeviseRequestHelper
def login_user
organisation = Organisation.find_by_name("first") || create(:organisation, :name => "first")
- @user ||= create(:user, :organisation => organisation)
+ @user ||= create(:user, :organisation => organisation)
@user.confirm!
login_as @user, :scope => :user
# post_via_redirect user_session_path, 'user[email]' => @user.email, 'user[password]' => @user.password
@@ -22,7 +22,7 @@ module DeviseRequestHelper
login_user
end
after(:each) do
- Warden.test_reset!
+ Warden.test_reset!
end
end