Welcome to mirror list, hosted at ThFree Co, Russian Federation.

github.com/diaspora/diaspora.git - Unnamed repository; edit this file 'description' to name the repository.
summaryrefslogtreecommitdiff
path: root/spec
diff options
context:
space:
mode:
authordanielgrippi <danielgrippi@gmail.com>2011-07-12 11:12:08 +0400
committerdanielgrippi <danielgrippi@gmail.com>2011-07-12 11:12:08 +0400
commit039b65b5ccd812c01f2cf37aacbc5f13561e479f (patch)
tree01fc16116bd41a9b29feba33673939ac5981312a /spec
parent0fbf366ef125014b3bc9835ef4d5bf5b1daabb21 (diff)
a little js cleanup for post.js
Diffstat (limited to 'spec')
-rw-r--r--spec/javascripts/widgets/post-spec.js4
1 files changed, 2 insertions, 2 deletions
diff --git a/spec/javascripts/widgets/post-spec.js b/spec/javascripts/widgets/post-spec.js
index b31e193dc..d50dad851 100644
--- a/spec/javascripts/widgets/post-spec.js
+++ b/spec/javascripts/widgets/post-spec.js
@@ -17,14 +17,14 @@ describe("Diaspora", function() {
it("adds a listener for the click event on a.expand_likes", function() {
spyOn(window, "$").andCallThrough();
Diaspora.widgets.post.start();
- expect($).toHaveBeenCalledWith(Diaspora.widgets.post.expandLikesSelector);
+ expect($).toHaveBeenCalledWith(Diaspora.widgets.post.likes.expanders);
$.reset();
});
it("adds a listener for ajax:success and ajax:failure", function() {
spyOn(window, "$").andCallThrough();
Diaspora.widgets.post.start();
- expect($).toHaveBeenCalledWith(Diaspora.widgets.post.likesSelector);
+ expect($).toHaveBeenCalledWith(Diaspora.widgets.post.likes.actions);
$.reset();
});
});