diff options
author | Constance Okoghenun <constanceokoghenun@gmail.com> | 2019-02-08 19:10:58 +0100 |
---|---|---|
committer | Constance Okoghenun <constanceokoghenun@gmail.com> | 2019-02-08 19:10:58 +0100 |
commit | 20ce370f4bcacaf86a0178505eb183e3d59e2406 (patch) | |
tree | 10b0bda5a2d4d5ed1d0cd1b7f294b22d46b5d963 /spec/views | |
parent | 81b875f0d034e10d0cb0225cd99535c936b2be68 (diff) | |
download | gitlab-ce-20ce370f4bcacaf86a0178505eb183e3d59e2406.tar.gz |
Improved readability of issues related MR status spec57428-actionview-template-error-undefined-method-for-nil-nilclass
Diffstat (limited to 'spec/views')
-rw-r--r-- | spec/views/projects/issues/_merge_requests_status.html.haml_spec.rb | 3 |
1 files changed, 2 insertions, 1 deletions
diff --git a/spec/views/projects/issues/_merge_requests_status.html.haml_spec.rb b/spec/views/projects/issues/_merge_requests_status.html.haml_spec.rb index ce861567826..02c225292ce 100644 --- a/spec/views/projects/issues/_merge_requests_status.html.haml_spec.rb +++ b/spec/views/projects/issues/_merge_requests_status.html.haml_spec.rb @@ -1,3 +1,4 @@ +# 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: '' } |