summaryrefslogtreecommitdiff
path: root/spec/models/variable_spec.rb
diff options
context:
space:
mode:
authorRobert Speicher <rspeicher@gmail.com>2015-08-30 19:10:53 -0400
committerRobert Speicher <rspeicher@gmail.com>2015-08-30 19:12:55 -0400
commit77053a6c217e06770a348ac989992afbd41697f6 (patch)
tree11df50675162be2045777c1f59c312d359e0d6cf /spec/models/variable_spec.rb
parent74b995d17b095e326177e7c0e452f0df3a1ab885 (diff)
downloadgitlab-ci-rs-rspec3.tar.gz
Convert to RSpec3 syntax via transpecrs-rspec3
Command: transpec -c 'bundle exec rspec spec -t ~feature' \ -o should,oneliner,should_receive
Diffstat (limited to 'spec/models/variable_spec.rb')
-rw-r--r--spec/models/variable_spec.rb6
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