1
0
Fork 0
mirror of https://github.com/thoughtbot/shoulda-matchers.git synced 2022-11-09 12:01:38 -05:00

Added clarification to README

Signed-off-by: Nick Quaranto <nick@quaran.to>
This commit is contained in:
Sean Schofield 2009-05-27 13:58:39 -04:00 committed by Nick Quaranto
parent c53e720363
commit fdb4b5135e

View file

@ -76,6 +76,7 @@ Makes TDD so much easier.
Macros to test the most common controller patterns...
class PostsControllerTest < ActionController::TestCase
context "on GET to :show for first record" do
setup do
get :show, :id => 1
@ -90,6 +91,7 @@ Macros to test the most common controller patterns...
assert_equal 1, assigns(:user).id
end
end
end
=== Helpful Assertions (Shoulda::Assertions)