Sha256: fbcc7fc5c4ab0a99782185c0fcd80b7cdbc9f01a3bd66a0bff3385fb969083a5

Contents?: true

Size: 631 Bytes

Versions: 17

Compression:

Stored size: 631 Bytes

Contents

require "coveralls"
Coveralls.wear!

$LOAD_PATH.unshift File.expand_path("../../lib", __FILE__)
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", __FILE__)).join(name)
end

def fixture_path(*args)
  Pathname.new(File.expand_path("../fixtures", __FILE__)).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

17 entries across 17 versions & 1 rubygems

Version Path
rails-auth-2.1.4 spec/spec_helper.rb
rails-auth-2.1.3 spec/spec_helper.rb
rails-auth-2.1.2 spec/spec_helper.rb
rails-auth-2.1.1 spec/spec_helper.rb
rails-auth-2.1.0 spec/spec_helper.rb
rails-auth-2.0.3 spec/spec_helper.rb
rails-auth-2.0.2 spec/spec_helper.rb
rails-auth-2.0.1 spec/spec_helper.rb
rails-auth-1.3.0 spec/spec_helper.rb
rails-auth-1.2.0 spec/spec_helper.rb
rails-auth-1.1.0 spec/spec_helper.rb
rails-auth-1.0.0 spec/spec_helper.rb
rails-auth-0.5.3 spec/spec_helper.rb
rails-auth-0.5.2 spec/spec_helper.rb
rails-auth-0.5.1 spec/spec_helper.rb
rails-auth-0.5.0 spec/spec_helper.rb
rails-auth-0.4.1 spec/spec_helper.rb