Commit c994484d authored by Fatih Acet's avatar Fatih Acet

Merge branch 'rs-fix-time-based-broken-master' into 'master'

Freeze date in merge request status view spec

See merge request gitlab-org/gitlab-ce!25671
parents 6afc474c a05aba61
......@@ -2,6 +2,12 @@
require 'spec_helper'
describe 'projects/issues/_merge_requests_status.html.haml' do
around do |ex|
Timecop.freeze(Date.new(2018, 7, 22)) do
ex.run
end
end
it 'shows date of status change in tooltip' do
merge_request = create(:merge_request, created_at: 1.month.ago)
......
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