From ada45a7496971656af180f1790d61d75806361d2 Mon Sep 17 00:00:00 2001 From: Shinya Maeda Date: Fri, 5 Oct 2018 17:11:37 +0900 Subject: [PATCH] Fix pipelines spec --- spec/features/projects/pipelines/pipelines_spec.rb | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/spec/features/projects/pipelines/pipelines_spec.rb b/spec/features/projects/pipelines/pipelines_spec.rb index 16a1ef813e3..17772a35779 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