fix public test to include .atom format

This commit is contained in:
maxwell 2011-03-30 11:31:16 -07:00
parent eff42b4219
commit cb87ba68b8

View file

@ -31,7 +31,7 @@ describe UsersController do
describe '#public' do
it 'renders xml' do
sm = Factory(:status_message, :public => true, :author => @user.person)
get :public, :username => @user.username
get :public, :username => @user.username, :format => :atom
response.body.should include(sm.text)
end
end