summaryrefslogtreecommitdiff
path: root/spec/models
diff options
context:
space:
mode:
authorLin Jen-Shin <godfat@godfat.org>2016-07-20 00:26:40 +0800
committerLin Jen-Shin <godfat@godfat.org>2016-07-20 00:26:40 +0800
commitcd449a736b375094d26d5fc62f973e00e0fb207a (patch)
treecf5bee73103ce353aba23e251bb643d95917748b /spec/models
parentf2969b1bb08cbe1d2111e975a2a75d66c16acbef (diff)
downloadgitlab-ce-cd449a736b375094d26d5fc62f973e00e0fb207a.tar.gz
Remove descriptions for simple case, feedback:
https://gitlab.com/gitlab-org/gitlab-ce/merge_requests/5347/diffs#note_13173304
Diffstat (limited to 'spec/models')
-rw-r--r--spec/models/build_spec.rb8
1 files changed, 2 insertions, 6 deletions
diff --git a/spec/models/build_spec.rb b/spec/models/build_spec.rb
index bd120e84c8f..ac148cec6b0 100644
--- a/spec/models/build_spec.rb
+++ b/spec/models/build_spec.rb
@@ -662,9 +662,7 @@ describe Ci::Build, models: true do
build.run!
end
- it 'returns false' do
- expect(build).not_to be_retryable
- end
+ it { expect(build).not_to be_retryable }
end
context 'when build is finished' do
@@ -672,9 +670,7 @@ describe Ci::Build, models: true do
build.success!
end
- it 'returns true' do
- expect(build).to be_retryable
- end
+ it { expect(build).to be_retryable }
end
end