Skip to content
Snippets Groups Projects
Commit fc6cef05 authored by Fatih Acet's avatar Fatih Acet Committed by GitLab Release Tools Bot
Browse files

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

(cherry picked from commit c994484d)

a05aba61 Freeze date in merge request status view spec
parent 77f5a72b
No related branches found
No related tags found
No related merge requests found
Loading
Loading
@@ -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)
 
Loading
Loading
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment