Sha256: 8c48de482ca354f58535242dc30c60216d810dda25178e49faca89e7b5c1d4c3

Contents?: true

Size: 445 Bytes

Versions: 4

Compression:

Stored size: 445 Bytes

Contents

# frozen_string_literal: true

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

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

  context 'fetching a plural custom provider' do
    it 'returns the provider' do
      expect(Sorcery::Controller::Config.examples).to be_a(Sorcery::Providers::Examples)
    end
  end
end

Version data entries

4 entries across 4 versions & 1 rubygems

Version Path
sorcery-0.17.0 spec/providers/examples_spec.rb
sorcery-0.16.5 spec/providers/examples_spec.rb
sorcery-0.16.4 spec/providers/examples_spec.rb
sorcery-0.16.3 spec/providers/examples_spec.rb