diff options
author | Dmitriy Zaporozhets <dmitriy.zaporozhets@gmail.com> | 2016-01-13 12:13:17 +0300 |
---|---|---|
committer | Dmitriy Zaporozhets <dmitriy.zaporozhets@gmail.com> | 2016-01-13 12:13:17 +0300 |
commit | 96351a1e9f33430f4552c05fdda143792ef1c99a (patch) | |
tree | 5fc99e3a49990703fea3f0bc031361da02511951 /spec | |
parent | 32a5b741c2cc46c97e905154920e74fbb2c2ac90 (diff) | |
parent | f01d0520713a2b5cb58511cdda10d459941ac8e9 (diff) |
Merge branch 'comment-and-close-button-does-not-submit-comment' into 'master'
Comment and close button does not submit comment
See merge request !2399
Diffstat (limited to 'spec')
-rw-r--r-- | spec/javascripts/issue_spec.js.coffee | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/spec/javascripts/issue_spec.js.coffee b/spec/javascripts/issue_spec.js.coffee index b85fadcbe82..86ba9dd8e96 100644 --- a/spec/javascripts/issue_spec.js.coffee +++ b/spec/javascripts/issue_spec.js.coffee @@ -44,7 +44,7 @@ describe 'reopen/close issue', -> expect($('div.status-box-closed')).toBeVisible() expect($('div.status-box-open')).toBeHidden() - it 'fails to closes an issue with success:false', -> + it 'fails to close an issue with success:false', -> spyOn(jQuery, 'ajax').and.callFake (req) -> expect(req.type).toBe('PUT') |