Browse files

replacing should_be_restful tests with normal tests

  • Loading branch information...
1 parent 10303b2 commit f018d0844403ccdf4d89758966a2914b4d317c55 @croaky croaky committed Sep 20, 2008
Showing with 9 additions and 0 deletions.
  1. +9 −0 test/functional/users_controller_test.rb
View
9 test/functional/users_controller_test.rb
@@ -31,4 +31,13 @@ def setup
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

0 comments on commit f018d08

Please sign in to comment.