Skip to content

HTTPS clone URL

Subversion checkout URL

You can clone with HTTPS or Subversion.

Download ZIP
Browse files

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

…ngs spec
  • Loading branch information...
commit d73abd397511ea874384de6d5b910599547883ed 1 parent 19b0886
@saturnflyer saturnflyer authored
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

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

@datenimperator

Thanks a lot.

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