Skip to content

Commit

Permalink
Merge branch 'next-minor' into develop
Browse files Browse the repository at this point in the history
  • Loading branch information
svbergerem committed Jan 28, 2017
2 parents a025a23 + 302ee79 commit 2aa91e0
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion spec/javascripts/mobile/mobile_comments_spec.js
Original file line number Diff line number Diff line change
Expand Up @@ -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.initialize();
Diaspora.Mobile.Comments.showCommentBox($(".stream .comment-action").first());
$(".stream .new_comment").first().submit();
Expand Down

0 comments on commit 2aa91e0

Please sign in to comment.