diff options
Diffstat (limited to 'spec/views/projects/pipelines/_stage.html.haml_spec.rb')
-rw-r--r-- | spec/views/projects/pipelines/_stage.html.haml_spec.rb | 6 |
1 files changed, 3 insertions, 3 deletions
diff --git a/spec/views/projects/pipelines/_stage.html.haml_spec.rb b/spec/views/projects/pipelines/_stage.html.haml_spec.rb index 591602859c3..c8f6784a0f6 100644 --- a/spec/views/projects/pipelines/_stage.html.haml_spec.rb +++ b/spec/views/projects/pipelines/_stage.html.haml_spec.rb @@ -2,7 +2,7 @@ require 'spec_helper' -describe 'projects/pipelines/_stage' do +RSpec.describe 'projects/pipelines/_stage' do let(:project) { create(:project, :repository) } let(:pipeline) { create(:ci_pipeline, project: project) } let(:stage) { build(:ci_stage, pipeline: pipeline) } @@ -54,7 +54,7 @@ describe 'projects/pipelines/_stage' do context 'when there are multiple builds' do before do - HasStatus::AVAILABLE_STATUSES.each do |status| + Ci::HasStatus::AVAILABLE_STATUSES.each do |status| create_build(status) end end @@ -62,7 +62,7 @@ describe 'projects/pipelines/_stage' do it 'shows them in order' do render - expect(rendered).to have_text(HasStatus::ORDERED_STATUSES.join(" ")) + expect(rendered).to have_text(Ci::HasStatus::ORDERED_STATUSES.join(" ")) end def create_build(status) |