Sha256: 90ee611d30778abbd99b1ed05e6a9b5d10606c55c8b7ee3e25b39bb8011a6924

Contents?: true

Size: 446 Bytes

Versions: 9

Compression:

Stored size: 446 Bytes

Contents

# frozen_string_literal: true

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

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

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

Version data entries

9 entries across 9 versions & 1 rubygems

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