summaryrefslogtreecommitdiff
path: root/spec/models/commit_spec.rb
diff options
context:
space:
mode:
authorLin Jen-Shin <godfat@godfat.org>2016-12-15 18:14:48 +0800
committerLin Jen-Shin <godfat@godfat.org>2016-12-15 18:16:22 +0800
commitcc6f578d5fc45f9c3d4cc7df5af72b15ce47b3a8 (patch)
tree078add93784365822d8d8e1a0078cad34d9b1a74 /spec/models/commit_spec.rb
parentf463ef5ec58fd26ad5368f57a29d758756dafc3f (diff)
downloadgitlab-ce-cc6f578d5fc45f9c3d4cc7df5af72b15ce47b3a8.tar.gz
Use described_class and update description
Feedback: https://gitlab.com/gitlab-org/gitlab-ce/merge_requests/7333#note_20059124 https://gitlab.com/gitlab-org/gitlab-ce/merge_requests/7333#note_20059187 https://gitlab.com/gitlab-org/gitlab-ce/merge_requests/7333#note_20059322
Diffstat (limited to 'spec/models/commit_spec.rb')
-rw-r--r--spec/models/commit_spec.rb2
1 files changed, 1 insertions, 1 deletions
diff --git a/spec/models/commit_spec.rb b/spec/models/commit_spec.rb
index a2a8392699e..9aac2abfb27 100644
--- a/spec/models/commit_spec.rb
+++ b/spec/models/commit_spec.rb
@@ -213,7 +213,7 @@ eos
end
describe '#status' do
- context 'without arguments' do
+ context 'without ref argument' do
before do
%w[success failed created pending].each do |status|
create(:ci_empty_pipeline,