Sha256: 83c9a96d0c55a87f5d27a517895b6945783d7d1eba4ea30ce5517decccc41734
Contents?: true
Size: 546 Bytes
Versions: 1
Compression:
Stored size: 546 Bytes
Contents
$LOAD_PATH.unshift File.expand_path("../../lib", __FILE__) require "rails/auth" require "rails/auth/rspec" require "support/create_certs" require "support/claims_predicate" require "pathname" RSpec.configure(&:disable_monkey_patching!) def cert_path(name) Pathname.new(File.expand_path("../../tmp/certs", __FILE__)).join(name) end def fixture_path(*args) Pathname.new(File.expand_path("../fixtures", __FILE__)).join(*args) end def env_for(method, path) { "REQUEST_METHOD" => method.to_s.upcase, "REQUEST_PATH" => path } end
Version data entries
1 entries across 1 versions & 1 rubygems
Version | Path |
---|---|
rails-auth-0.0.1 | spec/spec_helper.rb |