summaryrefslogtreecommitdiff
path: root/spec/javascripts/fixtures
diff options
context:
space:
mode:
authorJacob Schatz <jacobschatz@Jacobs-MBP.fios-router.home>2015-12-23 17:41:05 -0500
committerJacob Schatz <jacobschatz@Jacobs-MBP.fios-router.home>2015-12-23 17:41:05 -0500
commite11ee5ff01bf031cd4fda377a7444f2ba4d50f40 (patch)
tree2293d015f57afc311d3995866c95ac1a4180e870 /spec/javascripts/fixtures
parentb3e4bc5911737db82f2b296a0eed7fcb59fa28bb (diff)
downloadgitlab-ce-e11ee5ff01bf031cd4fda377a7444f2ba4d50f40.tar.gz
adds test for issue close/reopen failure
Diffstat (limited to 'spec/javascripts/fixtures')
-rw-r--r--spec/javascripts/fixtures/issues_show.html.haml13
1 files changed, 11 insertions, 2 deletions
diff --git a/spec/javascripts/fixtures/issues_show.html.haml b/spec/javascripts/fixtures/issues_show.html.haml
index f67ea5a13c7..dd01b6378c5 100644
--- a/spec/javascripts/fixtures/issues_show.html.haml
+++ b/spec/javascripts/fixtures/issues_show.html.haml
@@ -1,10 +1,19 @@
:css
.hidden { display: none !important; }
+.flash-container
+ - if alert
+ .flash-alert
+ = alert
+
+ - elsif notice
+ .flash-notice
+ = notice
+
.status-box.status-box-open Open
.status-box.status-box-closed.hidden Closed
-%a.btn-close{"href" => "http://gitlab/issues/6/close"} Close
-%a.btn-reopen.hidden{"href" => "http://gitlab/issues/6/reopen"} Reopen
+%a.btn-close{"href" => "http://gitlab.com/issues/6/close"} Close
+%a.btn-reopen.hidden{"href" => "http://gitlab.com/issues/6/reopen"} Reopen
.detail-page-description
.description.js-task-list-container