diff --git a/test/functional/posts_controller_test.rb b/test/functional/posts_controller_test.rb index 0f6a15d6..4f8b89b2 100644 --- a/test/functional/posts_controller_test.rb +++ b/test/functional/posts_controller_test.rb @@ -44,6 +44,7 @@ def setup end should_respond_with :success should_assign_to :user, :class => User + should_render_template :index should_assign_to(:user) { users(:first) } should_fail do should_assign_to :user, :class => Post