From cb87ba68b88687f986c2280cee4b4b35c25d107c Mon Sep 17 00:00:00 2001 From: maxwell Date: Wed, 30 Mar 2011 11:31:16 -0700 Subject: [PATCH] fix public test to include .atom format --- spec/controllers/users_controller_spec.rb | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/spec/controllers/users_controller_spec.rb b/spec/controllers/users_controller_spec.rb index 03e5b2388..4c5cfe76d 100644 --- a/spec/controllers/users_controller_spec.rb +++ b/spec/controllers/users_controller_spec.rb @@ -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