diff options
Diffstat (limited to 'spec/models/variable_spec.rb')
-rw-r--r-- | spec/models/variable_spec.rb | 6 |
1 files changed, 3 insertions, 3 deletions
diff --git a/spec/models/variable_spec.rb b/spec/models/variable_spec.rb index c089df9..a41ba4e 100644 --- a/spec/models/variable_spec.rb +++ b/spec/models/variable_spec.rb @@ -24,15 +24,15 @@ describe Variable do describe '#value' do it 'stores the encrypted value' do - subject.encrypted_value.should_not be_nil + expect(subject.encrypted_value).not_to be_nil end it 'stores an iv for value' do - subject.encrypted_value_iv.should_not be_nil + expect(subject.encrypted_value_iv).not_to be_nil end it 'stores a salt for value' do - subject.encrypted_value_salt.should_not be_nil + expect(subject.encrypted_value_salt).not_to be_nil end it 'fails to decrypt if iv is incorrect' do |