diff --git a/spec/features/projects/pipelines/pipelines_spec.rb b/spec/features/projects/pipelines/pipelines_spec.rb index 16a1ef813e3bc2ee109c245cba0bcdc8069dac26..17772a35779ad932b61aa5c919ee17bb182c1211 100644 --- a/spec/features/projects/pipelines/pipelines_spec.rb +++ b/spec/features/projects/pipelines/pipelines_spec.rb @@ -269,7 +269,7 @@ describe 'Pipelines', :js do it "shows 00:00:00 as the remaining time" do find('.js-pipeline-dropdown-manual-actions').click - expect(page).to have_content(Time.at(time_diff).utc.strftime("00:00:00")) + expect(page).to have_content("00:00:00") end end