Erb::Util.h now escapes ' which it didn't before

this is what 3.2.8 actually fixes to prevent XSS iirc
We're including the raw message in the atom feed so
we should test for it
This commit is contained in:
Jonne Haß 2012-09-06 21:12:49 +02:00
parent 60e8107763
commit 81442f0f2a
2 changed files with 2 additions and 2 deletions

View file

@ -43,7 +43,7 @@ describe UsersController do
it 'renders xml if atom is requested' do
sm = Factory(:status_message, :public => true, :author => @user.person)
get :public, :username => @user.username, :format => :atom
response.body.should include(sm.text)
response.body.should include(sm.raw_message)
end
it 'renders xml if atom is requested with clickalbe urls' do