Sha256: 7521398fb747f09ce931b9cb4ad0742a905434c850ccc3c815594a9b85669e4b

Contents?: true

Size: 568 Bytes

Versions: 17

Compression:

Stored size: 568 Bytes

Contents

ENV["RAILS_ENV"] = "test"
$:.unshift File.dirname(__FILE__)
$:.unshift File.expand_path('../../lib', __FILE__)

require "scenario/config/environment"
require "rails/test_help"
require 'rspec/rails'
require 'sham_rack'
require 'capybara/rspec'

RSpec.configure do |config| 
  config.mock_with :mocha 
end

ShamRack.at('www.example.com') do |env|
  request = Rack::Request.new(env)
  request.path_info = request.path_info.sub(/^\/cas_server/, '')
  
  Castronaut::Application.call(request.env)
end

Dir["#{File.dirname(__FILE__)}/support/**/*.rb"].each { |f| require f }

Version data entries

17 entries across 17 versions & 2 rubygems

Version Path
devise_cas_authenticatable-1.0.1 spec/spec_helper.rb
devise_cas_authenticatable-1.2.1 spec/spec_helper.rb
devise_cas_authenticatable-1.2.0 spec/spec_helper.rb
devise_cas_authenticatable-1.1.4 spec/spec_helper.rb
devise_cas_authenticatable-1.1.3 spec/spec_helper.rb
devise_cas_authenticatable-1.1.2 spec/spec_helper.rb
devise_cas_authenticatable-1.1.1 spec/spec_helper.rb
devise_cas_authenticatable-1.1.0 spec/spec_helper.rb
devise_cas_authenticatable-1.0.0 spec/spec_helper.rb
devise_cas_authenticatable-1.0.0.alpha13 spec/spec_helper.rb
devise_cas_authenticatable-1.0.0.alpha12 spec/spec_helper.rb
devise_cas_authenticatable-1.0.0.alpha11 spec/spec_helper.rb
devise_bushido_authenticatable-1.0.0 spec/spec_helper.rb
devise_bushido_authenticatable-1.0.0.alpha10 spec/spec_helper.rb
devise_cas_authenticatable-1.0.0.alpha10 spec/spec_helper.rb
devise_cas_authenticatable-1.0.0.alpha8 spec/spec_helper.rb
devise_cas_authenticatable-1.0.0.alpha7 spec/spec_helper.rb