diff options
Diffstat (limited to 'spec/features/dashboard/projects_spec.rb')
-rw-r--r-- | spec/features/dashboard/projects_spec.rb | 8 |
1 files changed, 8 insertions, 0 deletions
diff --git a/spec/features/dashboard/projects_spec.rb b/spec/features/dashboard/projects_spec.rb index e1beaf923e8..f870adbbdb6 100644 --- a/spec/features/dashboard/projects_spec.rb +++ b/spec/features/dashboard/projects_spec.rb @@ -205,6 +205,14 @@ RSpec.describe 'Dashboard Projects' do it_behaves_like 'hidden pipeline status' end + + context "when last_pipeline is missing" do + before do + project.last_pipeline.delete + end + + it_behaves_like 'hidden pipeline status' + end end context 'last push widget', :use_clean_rails_memory_store_caching do |