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 | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/spec/models/concerns/token_authenticatable_strategies/encrypted_spec.rb b/spec/models/concerns/token_authenticatable_strategies/encrypted_spec.rb index e0ebb86585a..2df86804f34 100644 --- a/spec/models/concerns/token_authenticatable_strategies/encrypted_spec.rb +++ b/spec/models/concerns/token_authenticatable_strategies/encrypted_spec.rb @@ -237,6 +237,7 @@ RSpec.describe TokenAuthenticatableStrategies::Encrypted do expect(subject.set_token(instance, 'my-value')).to eq 'my-value' end end + context 'when encryption is optional' do let(:options) { { encrypted: :optional } } |