Sha256: 216da6a1f27ab1fbc339dab5ac7f5e94cf69aff683d57dbed2fd02b4c964e325

Contents?: true

Size: 539 Bytes

Versions: 2

Compression:

Stored size: 539 Bytes

Contents

$LOAD_PATH.unshift File.expand_path('../../lib', __FILE__)

require 'auth_strategist'

require 'factory_girl'
require 'factories/authorize'

require 'rspec/its'

require 'dummy/controllers/dummy_controller'

RSpec.configure do |c|
  c.before(:each) do
    AuthStrategist.configure do |g|
      g.default_strategy_components = [:default_component]
      g.strategies_path = 'spec/dummy/strategies'
      g.strategies do |s|
        s.dummy_strategy = DummyStrategy
        s.missing_authorize = MissingAuthorize
      end
    end
  end
end

Version data entries

2 entries across 2 versions & 1 rubygems

Version Path
auth_strategist-0.6.0 spec/spec_helper.rb
auth_strategist-0.5.0 spec/spec_helper.rb