Sha256: 71e7c09c72f5a0a18d1b1002dff4e91f350dea87cdf327f975aa8efb467d096d
Contents?: true
Size: 612 Bytes
Versions: 2
Compression:
Stored size: 612 Bytes
Contents
ENV["RAILS_ENV"] = "test" $:.unshift File.dirname(__FILE__) $:.unshift File.expand_path('../../lib', __FILE__) require "devise_cloudfuji_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
2 entries across 2 versions & 1 rubygems
Version | Path |
---|---|
devise_cloudfuji_authenticatable-1.0.5 | spec/spec_helper.rb |
devise_cloudfuji_authenticatable-1.0.4 | spec/spec_helper.rb |