Commit 20ce370f authored by Constance Okoghenun's avatar Constance Okoghenun

Improved readability of issues related MR status spec

parent 81b875f0
# frozen_string_literal: true
require 'spec_helper'
describe 'projects/issues/_merge_requests_status.html.haml' do
......@@ -11,7 +12,7 @@ describe 'projects/issues/_merge_requests_status.html.haml' do
end
it 'shows only status in tooltip if date is not set' do
merge_request = create(:merge_request, created_at: 1.month.ago, state: :closed)
merge_request = create(:merge_request, state: :closed)
render partial: 'projects/issues/merge_requests_status',
locals: { merge_request: merge_request, css_class: '' }
......
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