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:
authorBenjamin Neff <benjamin@coding4coffee.ch>2017-08-14 03:00:28 +0300
committerBenjamin Neff <benjamin@coding4coffee.ch>2017-08-14 03:21:28 +0300
commitdd6cbbbb8e2153a1ae823f1f5f75ee4309fd3f77 (patch)
tree4718638dd2a90dcc4f483e7c18d5c21d383586ad /spec
parent9adcca2679be55622888efdb58bb38b234481f53 (diff)
Remove avatar, name, timestamp and interactions from publisher preview
This doesn't add any value in the post preview: * Avatar is already at the left-hand side of the publisher * Timestamp is always "less than a minute ago" * Interactions are disabled in the preview anyway We don't display these things in the comment preview either, they only need space and don't add any value to the preview.
Diffstat (limited to 'spec')
-rw-r--r--spec/javascripts/app/views/preview_post_view_spec.js14
1 files changed, 0 insertions, 14 deletions
diff --git a/spec/javascripts/app/views/preview_post_view_spec.js b/spec/javascripts/app/views/preview_post_view_spec.js
index e2c1b5aec..af5f0a455 100644
--- a/spec/javascripts/app/views/preview_post_view_spec.js
+++ b/spec/javascripts/app/views/preview_post_view_spec.js
@@ -36,12 +36,6 @@ describe("app.views.PreviewPost", function() {
});
describe("render", function() {
- it("calls feedbackView", function() {
- spyOn(app.views.PreviewPost.prototype, "feedbackView");
- this.view.render();
- expect(app.views.PreviewPost.prototype.feedbackView).toHaveBeenCalled();
- });
-
it("calls postContentView", function() {
spyOn(app.views.PreviewPost.prototype, "postContentView");
this.view.render();
@@ -55,14 +49,6 @@ describe("app.views.PreviewPost", function() {
});
});
- describe("feedbackView", function() {
- it("calls app.views.Feedback.initialise", function() {
- spyOn(app.views.Feedback.prototype, "initialize");
- this.view.feedbackView();
- expect(app.views.Feedback.prototype.initialize).toHaveBeenCalledWith({model: this.model});
- });
- });
-
describe("postContentView", function() {
it("calls app.views.Feedback.initialise", function() {
spyOn(app.views.StatusMessage.prototype, "initialize");