Sha256: 6954122fc5cdb45b77227eba9c118d2871af1629c397c2ad062b04905886ae15

Contents?: true

Size: 479 Bytes

Versions: 9

Compression:

Stored size: 479 Bytes

Contents

# frozen_string_literal: true

require 'spec_helper'
require 'sorcery/providers/base'

describe Sorcery::Providers::ExampleProvider do
  before(:all) do
    sorcery_reload!([:external])
    sorcery_controller_property_set(:external_providers, [:example_provider])
  end

  context 'fetching a multi-word custom provider' do
    it 'returns the provider' do
      expect(Sorcery::Controller::Config.example_provider).to be_a(Sorcery::Providers::ExampleProvider)
    end
  end
end

Version data entries

9 entries across 9 versions & 1 rubygems

Version Path
sorcery-0.17.0 spec/providers/example_provider_spec.rb
sorcery-0.16.5 spec/providers/example_provider_spec.rb
sorcery-0.16.4 spec/providers/example_provider_spec.rb
sorcery-0.16.3 spec/providers/example_provider_spec.rb
sorcery-0.16.2 spec/providers/example_provider_spec.rb
sorcery-0.16.1 spec/providers/example_provider_spec.rb
sorcery-0.15.1 spec/providers/example_provider_spec.rb
sorcery-0.16.0 spec/providers/example_provider_spec.rb
sorcery-0.15.0 spec/providers/example_provider_spec.rb