lib/rails/auth/rspec/helper_methods.rb in rails-auth-0.4.0 vs lib/rails/auth/rspec/helper_methods.rb in rails-auth-0.4.1
- old
+ new
@@ -33,10 +33,10 @@
raise ArgumentError, "expected #{path} to start with '/'"
end
env = {
"REQUEST_METHOD" => method,
- "REQUEST_PATH" => self.class.description
+ "PATH_INFO" => self.class.description
}
certificates.each do |type, value|
Rails::Auth.add_credential(env, type.to_s, value)
end