diff options
author | Grzegorz Bizon <grzesiek.bizon@gmail.com> | 2017-08-16 13:30:49 +0200 |
---|---|---|
committer | Grzegorz Bizon <grzesiek.bizon@gmail.com> | 2017-08-16 13:30:49 +0200 |
commit | 1066d8ba77ba242851c906aa523bd7548dad1d15 (patch) | |
tree | e552198337dff4ef5b6b02d2ee5360b2fe305517 /spec/models | |
parent | 32d0983a4ea3ce61b78e4d11d61892989ac4cb35 (diff) | |
download | gitlab-ce-1066d8ba77ba242851c906aa523bd7548dad1d15.tar.gz |
Use usual method to retrieve CI/CD stage statuses
Diffstat (limited to 'spec/models')
-rw-r--r-- | spec/models/ci/stage_spec.rb | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/spec/models/ci/stage_spec.rb b/spec/models/ci/stage_spec.rb index d5c66598451..74c9d6145e2 100644 --- a/spec/models/ci/stage_spec.rb +++ b/spec/models/ci/stage_spec.rb @@ -9,9 +9,9 @@ describe Ci::Stage, :models do create(:commit_status, stage_id: stage.id) end - describe '#commit_statuses' do + describe '#statuses' do it 'returns all commit statuses' do - expect(stage.commit_statuses.count).to be 2 + expect(stage.statuses.count).to be 2 end end |