diff options
Diffstat (limited to 'spec')
-rw-r--r-- | spec/lib/gitlab/ci/variables/collection_spec.rb | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/spec/lib/gitlab/ci/variables/collection_spec.rb b/spec/lib/gitlab/ci/variables/collection_spec.rb index 0ded8581a86..39ed1cb4c26 100644 --- a/spec/lib/gitlab/ci/variables/collection_spec.rb +++ b/spec/lib/gitlab/ci/variables/collection_spec.rb @@ -3,7 +3,7 @@ require 'spec_helper' describe Gitlab::Ci::Variables::Collection do describe '.new' do it 'can be initialized with an array' do - variable = { key: 'SOME_VAR', value: 'Some Value'} + variable = { key: 'SOME_VAR', value: 'Some Value' } collection = described_class.new([variable]) expect(collection.first.to_h).to include variable @@ -39,7 +39,7 @@ describe Gitlab::Ci::Variables::Collection do describe '#+' do it 'makes it possible to combine with an array' do collection = described_class.new([{ key: 'TEST', value: 1 }]) - variables = [{ key: 'TEST', value: 'something'}] + variables = [{ key: 'TEST', value: 'something' }] expect((collection + variables).count).to eq 2 end |