Skip to content

Commit

Permalink
Fixed broken tests.
Browse files Browse the repository at this point in the history
  • Loading branch information
fredwu committed Jul 17, 2011
1 parent 5f2752c commit 0db07dd
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions spec/controllers/users_controller_spec.rb
Original file line number Diff line number Diff line change
Expand Up @@ -32,11 +32,11 @@
it "shows inbox messages by default" do
get :message_inboxes

assigns(:messages).should == current_user.inbox_messages
response.should redirect_to(my_message_inbox_path(:inbox_messages))
end

it "shows inbox messages" do
get :message_inboxes, :type => :inbox
get :message_inboxes, :type => :inbox_messages

assigns(:messages).should == current_user.inbox_messages
end
Expand Down

0 comments on commit 0db07dd

Please sign in to comment.