Skip to content

Commit

Permalink
Added a functional test for should_render_template [thoughtbot#181 st…
Browse files Browse the repository at this point in the history
…ate:resolved]
  • Loading branch information
hardbap authored and jferris committed May 8, 2009
1 parent eb7f1f8 commit e7099fa
Showing 1 changed file with 1 addition and 0 deletions.
1 change: 1 addition & 0 deletions test/functional/posts_controller_test.rb
Original file line number Diff line number Diff line change
Expand Up @@ -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
Expand Down

0 comments on commit e7099fa

Please sign in to comment.