diff options
author | Jarka Kadlecova <jarka@gitlab.com> | 2017-09-05 17:25:40 +0300 |
---|---|---|
committer | Jarka Kadlecova <jarka@gitlab.com> | 2017-09-05 17:25:40 +0300 |
commit | ae9b771797cceee76c18376910519e9e71628acc (patch) | |
tree | 3e0cc3f2c1fd77c15f9fe3928daa0f4fd37e2e79 /spec/features/issues | |
parent | b0e30189a0cb82a03d6b6b25c04fa1498da85b0b (diff) |
Remove checks if issue.author is present
Diffstat (limited to 'spec/features/issues')
-rw-r--r-- | spec/features/issues/issue_detail_spec.rb | 14 |
1 files changed, 0 insertions, 14 deletions
diff --git a/spec/features/issues/issue_detail_spec.rb b/spec/features/issues/issue_detail_spec.rb index c470cb7c716..28b636f9359 100644 --- a/spec/features/issues/issue_detail_spec.rb +++ b/spec/features/issues/issue_detail_spec.rb @@ -40,18 +40,4 @@ feature 'Issue Detail', :js do end end end - - context 'when authored by a user who is later deleted' do - before do - issue.update_attribute(:author_id, nil) - sign_in(user) - visit project_issue_path(project, issue) - end - - it 'shows the issue' do - page.within('.issuable-details') do - expect(find('h2')).to have_content(issue.title) - end - end - end end |