diff --git a/test/functional/users_controller_test.rb b/test/functional/users_controller_test.rb index d162c1e0..2cd9b01c 100644 --- a/test/functional/users_controller_test.rb +++ b/test/functional/users_controller_test.rb @@ -31,4 +31,13 @@ class UsersControllerTest < Test::Unit::TestCase should_assign_to :users end + context "on GET to #show" do + setup { get :show, :id => @user } + + should_respond_with :success + should_render_with_layout 'users' + should_render_template :show + should_assign_to :user + end + end