diff --git a/app/assets/javascripts/app/views/small_frame.js b/app/assets/javascripts/app/views/small_frame.js index 64f69a0c2..2b21501a2 100644 --- a/app/assets/javascripts/app/views/small_frame.js +++ b/app/assets/javascripts/app/views/small_frame.js @@ -26,8 +26,13 @@ app.views.SmallFrame = app.views.Post.extend({ presenter : function(){ //todo : we need to have something better for small frame text, probably using the headline() scenario. return _.extend(this.defaultPresenter(), - {text : this.model && app.helpers.textFormatter(this.model.get("text"), this.model), - adjustedImageHeight : this.adjustedImageHeight()}) + { + text : this.model && app.helpers.textFormatter(this.model.get("text"), this.model), + adjustedImageHeight : this.adjustedImageHeight(), + likesCount : this.model.interactions.likesCount(), + resharesCount : this.model.interactions.resharesCount(), + commentsCount : this.model.interactions.commentsCount() + }) }, initialize : function() { diff --git a/features/post_viewer.feature b/features/post_viewer.feature index e099c3c97..4fec33fa5 100644 --- a/features/post_viewer.feature +++ b/features/post_viewer.feature @@ -1,16 +1,15 @@ -@javascript -Feature: Post Viewer - In order to make my content look really great - As a User - I want my posts to have a bunch of different templates that I can page through - - Background: - Given a user with email "alice@alice.com" - And I sign in as "alice@alice.com" - -# Wip tag sad on new cucumber, commenting for now. -# @wip -# Scenario: Paging through posts -# Given I have posts for each type of template -# Then I visit all of my posts -# And I should have seen all of my posts displayed with the correct template +#@javascript +#Feature: Post Viewer +# In order to make my content look really great +# As a User +# I want my posts to have a bunch of different templates that I can page through +# +# Background: +# Given a user with email "alice@alice.com" +# And I sign in as "alice@alice.com" +# +## Wip tag sad on new cucumber, commenting for now. +## Scenario: Paging through posts +## Given I have posts for each type of template +## Then I visit all of my posts +## And I should have seen all of my posts displayed with the correct template