fix public test to include .atom format
This commit is contained in:
parent
eff42b4219
commit
cb87ba68b8
1 changed files with 1 additions and 1 deletions
|
|
@ -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
|
||||
|
|
|
|||
Loading…
Reference in a new issue