Sha256: 8ea94cb7c48cd612c1a2eff1d55194d35d1c9b230be3e1715aeb0b4ec2744503
Contents?: true
Size: 650 Bytes
Versions: 5
Compression:
Stored size: 650 Bytes
Contents
# frozen_string_literal: true require "coveralls" Coveralls.wear! $LOAD_PATH.unshift File.expand_path("../lib", __dir__) require "rails/auth" require "rails/auth/rspec" require "support/create_certs" require "support/claims_matcher" require "pathname" RSpec.configure(&:disable_monkey_patching!) def cert_path(name) Pathname.new(File.expand_path("../tmp/certs", __dir__)).join(name) end def fixture_path(*args) Pathname.new(File.expand_path("fixtures", __dir__)).join(*args) end def env_for(method, path, host = "127.0.0.1") { "REQUEST_METHOD" => method.to_s.upcase, "PATH_INFO" => path, "HTTP_HOST" => host } end
Version data entries
5 entries across 5 versions & 1 rubygems
Version | Path |
---|---|
rails-auth-3.1.0 | spec/spec_helper.rb |
rails-auth-3.0.0 | spec/spec_helper.rb |
rails-auth-2.2.2 | spec/spec_helper.rb |
rails-auth-2.2.1 | spec/spec_helper.rb |
rails-auth-2.2.0 | spec/spec_helper.rb |