From 77053a6c217e06770a348ac989992afbd41697f6 Mon Sep 17 00:00:00 2001 From: Robert Speicher Date: Sun, 30 Aug 2015 19:10:53 -0400 Subject: Convert to RSpec3 syntax via transpec Command: transpec -c 'bundle exec rspec spec -t ~feature' \ -o should,oneliner,should_receive --- spec/models/variable_spec.rb | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) (limited to 'spec/models/variable_spec.rb') 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 -- cgit v1.2.1