Sha256: dedc72a644b05e42997f61c24e7bd8220df7ade667377717a0d7f044ee51ee63
Contents?: true
Size: 487 Bytes
Versions: 4
Compression:
Stored size: 487 Bytes
Contents
# frozen_string_literal: true require 'spec_helper' require 'switch_user' RSpec.describe SwitchUser do describe '#available_scopes' do it 'returns a list of available scopes' do expect(SwitchUser.available_scopes).to eq [:user] end end describe 'assigning the provider' do it 'sets the provider' do # ensure we aren't breaking existing functionality SwitchUser.provider = :sorcery expect(SwitchUser.provider).to eq :sorcery end end end
Version data entries
4 entries across 4 versions & 1 rubygems
Version | Path |
---|---|
switch_user-1.5.4 | spec/switch_user_spec.rb |
switch_user-1.5.3 | spec/switch_user_spec.rb |
switch_user-1.5.2 | spec/switch_user_spec.rb |
switch_user-1.5.1 | spec/switch_user_spec.rb |