replacing should_be_restful tests with normal tests

This commit is contained in:
Dan Croak 2008-09-20 18:07:34 -04:00
parent 10303b28f3
commit f018d08444
1 changed files with 9 additions and 0 deletions

View File

@ -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