Unverified Commit 302ee795 authored by Senya's avatar Senya Committed by Steffen van Bergerem

Fix a jasmine test issue

The issue from a jasmine spec introduced by #7227 caused the testsuite that runs in a browser to be redirected out of the jasmine runner and therefore not finished.

closes #7299
parent c130b781
......@@ -7,7 +7,7 @@ describe("Diaspora.Mobile.Comments", function(){
describe("initialize", function() {
it("calls submitComment when the comment form has been submitted", function() {
spyOn(Diaspora.Mobile.Comments, "submitComment");
spyOn(Diaspora.Mobile.Comments, "submitComment").and.returnValue(false);
Diaspora.Mobile.Comments.showCommentBox($(".stream .comment-action").first());
$(".stream .new_comment").first().submit();
Markdown is supported
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment