Commit 99049b4e authored by Sean Arnold's avatar Sean Arnold Committed by Stan Hu

Fix more controller specs

parent 5f6da88d
......@@ -48,8 +48,8 @@ describe Projects::GraphsController do
expect(assigns[:daily_coverage_options]).to eq(
base_params: {
start_date: Time.now.to_date - 90.days,
end_date: Time.now.to_date,
start_date: Time.current.to_date - 90.days,
end_date: Time.current.to_date,
ref_path: project.repository.expand_ref('master'),
param_type: 'coverage'
},
......
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment