spec fix for markdown
This commit is contained in:
parent
dea21634a2
commit
b13e72bc00
2 changed files with 5 additions and 1 deletions
|
|
@ -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
|
||||||
|
|
|
||||||
|
|
@ -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're gonna love this") //markdown'ed
|
||||||
})
|
})
|
||||||
})
|
})
|
||||||
})
|
})
|
||||||
|
|
|
||||||
Loading…
Reference in a new issue