diff --git a/app/models/post.rb b/app/models/post.rb index 5ada201be..10cfd823d 100644 --- a/app/models/post.rb +++ b/app/models/post.rb @@ -61,6 +61,10 @@ class Post < ActiveRecord::Base self.class.name end + def raw_message + "" + end + # gives the last three comments on the post def last_three_comments return if self.comments_count == 0 diff --git a/spec/javascripts/app/views/stream_view_spec.js b/spec/javascripts/app/views/stream_view_spec.js index afae2086e..30cda0951 100644 --- a/spec/javascripts/app/views/stream_view_spec.js +++ b/spec/javascripts/app/views/stream_view_spec.js @@ -34,7 +34,7 @@ describe("app.views.Stream", function(){ context("when rendering a Status Mesasage", function(){ it("shows the status message in the content area", function(){ - expect(this.statusElement.find(".post-content p").text()).toContain("you're gonna love this") + expect(this.statusElement.find(".post-content p").text()).toContain("you're gonna love this") //markdown'ed }) }) })