Sha256: 3fb11309fb89100c9f35577bf6dd6c971d4359a85c65655821d7bf3e76dbc83b

Contents?: true

Size: 610 Bytes

Versions: 3

Compression:

Stored size: 610 Bytes

Contents

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

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

RSpec.configure do |config| 
  config.mock_with :rspec 
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

3 entries across 3 versions & 1 rubygems

Version Path
devise_bushido_authenticatable-1.0.3 spec/spec_helper.rb
devise_bushido_authenticatable-1.0.2 spec/spec_helper.rb
devise_bushido_authenticatable-1.0.1 spec/spec_helper.rb