From dd0e3412034bf9227c415455f230fe4b28439f2c Mon Sep 17 00:00:00 2001 From: Kamil Trzcinski Date: Sun, 3 Dec 2017 16:21:59 +0100 Subject: [PATCH] Fix Rubocop --- spec/models/ci/job_artifact_spec.rb | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/spec/models/ci/job_artifact_spec.rb b/spec/models/ci/job_artifact_spec.rb index cdde1ed207a..0e18a326c68 100644 --- a/spec/models/ci/job_artifact_spec.rb +++ b/spec/models/ci/job_artifact_spec.rb @@ -55,7 +55,7 @@ describe Ci::JobArtifact do it 'when assigning invalid duration' do expect { artifact.expire_in = '7 elephants' }.to raise_error(ChronicDuration::DurationParseError) - + is_expected.to be_nil end