lib/mtwarden/testing_support/authentication_helpers.rb in mtwarden-6.0.1 vs lib/mtwarden/testing_support/authentication_helpers.rb in mtwarden-6.1.0
- old
+ new
@@ -1,21 +1,21 @@
-module Mtwarden
- module TestingSupport
- module AuthenticationHelpers
-
- include Warden::Test::Helpers
-
- def self.included(base)
- base.after do
- logout
- end
- end
-
- def sign_in_as(options={})
- options.each do |scope, object|
- login_as(object, :scope => scope)
- end
- end
-
- end
- end
-end
+module Mtwarden
+ module TestingSupport
+ module AuthenticationHelpers
+
+ include Warden::Test::Helpers
+
+ def self.included(base)
+ base.after do
+ logout
+ end
+ end
+
+ def sign_in_as(options={})
+ options.each do |scope, object|
+ login_as(object, :scope => scope)
+ end
+ end
+
+ end
+ end
+end