From 417301088f4a82e3f994b5eeb9a6668c7bc55abe Mon Sep 17 00:00:00 2001 From: danielvincent <danielgrippi@gmail.com> Date: Fri, 26 Nov 2010 00:56:39 -0500 Subject: [PATCH] fixed build --- spec/controllers/comments_controller_spec.rb | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/spec/controllers/comments_controller_spec.rb b/spec/controllers/comments_controller_spec.rb index ae4257be79..4074792a9f 100644 --- a/spec/controllers/comments_controller_spec.rb +++ b/spec/controllers/comments_controller_spec.rb @@ -53,7 +53,7 @@ describe CommentsController do it 'posts no comment' do user.should_receive(:comment).exactly(0).times post :create, comment_hash - response.code.should == '401' + response.code.should == '406' end end end -- GitLab