diff options
author | Jacob Schatz <jacobschatz@Jacobs-MBP.fios-router.home> | 2015-12-23 20:57:16 -0500 |
---|---|---|
committer | Jacob Schatz <jacobschatz@Jacobs-MBP.fios-router.home> | 2015-12-23 20:57:16 -0500 |
commit | 00e967a07f476f7df7aaddc652258668af392f5d (patch) | |
tree | 31081b11bba2fb0bd248c0b0aa47151748a68864 /spec/javascripts | |
parent | e11ee5ff01bf031cd4fda377a7444f2ba4d50f40 (diff) | |
download | gitlab-ce-00e967a07f476f7df7aaddc652258668af392f5d.tar.gz |
removes unused `alert` from issue spec. Requires flash in the *implementation* instead of the spec.close-open-ajax-issue
Diffstat (limited to 'spec/javascripts')
-rw-r--r-- | spec/javascripts/fixtures/issues_show.html.haml | 9 | ||||
-rw-r--r-- | spec/javascripts/issue_spec.js.coffee | 1 |
2 files changed, 2 insertions, 8 deletions
diff --git a/spec/javascripts/fixtures/issues_show.html.haml b/spec/javascripts/fixtures/issues_show.html.haml index dd01b6378c5..470cabeafbb 100644 --- a/spec/javascripts/fixtures/issues_show.html.haml +++ b/spec/javascripts/fixtures/issues_show.html.haml @@ -2,13 +2,8 @@ .hidden { display: none !important; } .flash-container - - if alert - .flash-alert - = alert - - - elsif notice - .flash-notice - = notice + .flash-alert + .flash-notice .status-box.status-box-open Open .status-box.status-box-closed.hidden Closed diff --git a/spec/javascripts/issue_spec.js.coffee b/spec/javascripts/issue_spec.js.coffee index f0a57d99c56..7e67c778861 100644 --- a/spec/javascripts/issue_spec.js.coffee +++ b/spec/javascripts/issue_spec.js.coffee @@ -1,4 +1,3 @@ -#= require flash #= require issue describe 'Issue', -> |