diff options
author | Kamil Trzcinski <ayufan@ayufan.eu> | 2016-06-13 16:05:23 +0200 |
---|---|---|
committer | Kamil Trzcinski <ayufan@ayufan.eu> | 2016-06-13 16:05:23 +0200 |
commit | c534d2e89ed00ff98c83a197674b5ac66a8aca93 (patch) | |
tree | fff30847f9198fe4e46f2cde132ad45e471f2894 /spec/models/build_spec.rb | |
parent | b0b1b85d7197b211c472779c07410de70b39e548 (diff) | |
download | gitlab-ce-c534d2e89ed00ff98c83a197674b5ac66a8aca93.tar.gz |
Improve tests
Diffstat (limited to 'spec/models/build_spec.rb')
-rw-r--r-- | spec/models/build_spec.rb | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/spec/models/build_spec.rb b/spec/models/build_spec.rb index f25b676651e..c07832a4b5f 100644 --- a/spec/models/build_spec.rb +++ b/spec/models/build_spec.rb @@ -472,7 +472,7 @@ describe Ci::Build, models: true do end it 'when assigning invalid duration' do - expect{ build.artifacts_expire_in = '7 elephants' }.not_to raise_error + expect { build.artifacts_expire_in = '7 elephants' }.not_to raise_error is_expected.to be_nil end |