diff options
Diffstat (limited to 'spec/models/concerns/token_authenticatable_strategies/encrypted_spec.rb')
-rw-r--r-- | spec/models/concerns/token_authenticatable_strategies/encrypted_spec.rb | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/spec/models/concerns/token_authenticatable_strategies/encrypted_spec.rb b/spec/models/concerns/token_authenticatable_strategies/encrypted_spec.rb index 556182ee50e..f1e5810fa6a 100644 --- a/spec/models/concerns/token_authenticatable_strategies/encrypted_spec.rb +++ b/spec/models/concerns/token_authenticatable_strategies/encrypted_spec.rb @@ -35,8 +35,8 @@ describe TokenAuthenticatableStrategies::Encrypted do .to eq 'encrypted resource' end - it 'uses fallback strategy when encrypted token cannot be found' do - allow(subject.send(:fallback_strategy)) + it 'uses insecure strategy when encrypted token cannot be found' do + allow(subject.send(:insecure_strategy)) .to receive(:find_token_authenticatable) .and_return('plaintext resource') |