Skip to content
Browse files

update the page spec to test for the proper string in the frozen stri…

…ngs spec
  • Loading branch information...
1 parent 19b0886 commit d73abd397511ea874384de6d5b910599547883ed @saturnflyer saturnflyer committed Feb 26, 2012
Showing with 1 addition and 1 deletion.
  1. +1 −1 spec/models/page_spec.rb
View
2 spec/models/page_spec.rb
@@ -451,7 +451,7 @@ def headers
it 'should render custom pages with tags that return frozen strings' do
create_page "Test Page", :body => "<r:frozen_string />", :class_name => "PageSpecTestPage"
- pages(:test_page).should render_as('Brain')
+ pages(:test_page).should render_as('Brain body')
end
it 'should render blank when containing no content' do

3 comments on commit d73abd3

@datenimperator
Radiant CMS dev team member

Why would 'Brain'.freeze return 'Brain body.'? Where does that body come from?

@datenimperator
Radiant CMS dev team member

Thanks a lot.

Please sign in to comment.
Something went wrong with that request. Please try again.