spec fix for markdown

This commit is contained in:
Dennis Collinson 2012-01-06 17:10:07 -08:00
parent dea21634a2
commit b13e72bc00
2 changed files with 5 additions and 1 deletions

View file

@ -61,6 +61,10 @@ class Post < ActiveRecord::Base
self.class.name self.class.name
end end
def raw_message
""
end
# gives the last three comments on the post # gives the last three comments on the post
def last_three_comments def last_three_comments
return if self.comments_count == 0 return if self.comments_count == 0

View file

@ -34,7 +34,7 @@ describe("app.views.Stream", function(){
context("when rendering a Status Mesasage", function(){ context("when rendering a Status Mesasage", function(){
it("shows the status message in the content area", 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&#39;re gonna love this") //markdown'ed
}) })
}) })
}) })