Sha256: 957ec938adbf0589a5b72f62bba2aed9564ebedfc608ec632b9b824c89110cc3
Contents?: true
Size: 726 Bytes
Versions: 2
Compression:
Stored size: 726 Bytes
Contents
require 'spec_helper' describe AuthStrategist::Configuration do context 'by default for specs environment' do let(:default_strategy_components) { [:default_component] } let(:strategies_path) { 'spec/dummy/strategies' } let(:strategies_registry) do described_class::StrategiesRegistry.new(dummy_strategy: DummyStrategy, missing_authorize: MissingAuthorize) end let(:subject) { AuthStrategist.configuration } its(:default_strategy_components) do is_expected.to eq(default_strategy_components) end its(:strategies_path) { is_expected.to eq(strategies_path) } its(:strategies) { is_expected.to eq(strategies_registry) } end end
Version data entries
2 entries across 2 versions & 1 rubygems
Version | Path |
---|---|
auth_strategist-0.6.0 | spec/configuration_spec.rb |
auth_strategist-0.5.0 | spec/configuration_spec.rb |