Sha256: fe97a7df3dc159408326c209e61dae5e8b27727692944ba98133c38f49152bfe

Contents?: true

Size: 234 Bytes

Versions: 10

Compression:

Stored size: 234 Bytes

Contents

require 'spec_helper'

module SwitchUser
  RSpec.describe Provider do
    it "initializes the provider" do
      SwitchUser.provider = :dummy
      expect(Provider.init(double(:controller))).to be_a(Provider::Dummy)
    end
  end
end

Version data entries

10 entries across 10 versions & 1 rubygems

Version Path
switch_user-1.5.0 spec/provider_spec.rb
switch_user-1.4.0 spec/provider_spec.rb
switch_user-1.3.1 spec/provider_spec.rb
switch_user-1.3.0 spec/provider_spec.rb
switch_user-1.2.1 spec/provider_spec.rb
switch_user-1.2.0 spec/provider_spec.rb
switch_user-1.1.0 spec/provider_spec.rb
switch_user-1.0.2 spec/provider_spec.rb
switch_user-1.0.1 spec/provider_spec.rb
switch_user-1.0.0 spec/provider_spec.rb