From b9795b3d42bd7f711387bb062db0ca72692f3452 Mon Sep 17 00:00:00 2001 From: Elliot Winkler Date: Tue, 4 Nov 2014 14:06:41 -0700 Subject: [PATCH] Fix typo in have_many docs --- lib/shoulda/matchers/active_record/association_matcher.rb | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/lib/shoulda/matchers/active_record/association_matcher.rb b/lib/shoulda/matchers/active_record/association_matcher.rb index 281fd249..359b50c5 100644 --- a/lib/shoulda/matchers/active_record/association_matcher.rb +++ b/lib/shoulda/matchers/active_record/association_matcher.rb @@ -327,7 +327,7 @@ module Shoulda # # # RSpec # describe Person do - # it { should have_many(:worries).with_primaryu_key('worrier_id') } + # it { should have_many(:worries).with_primary_key('worrier_id') } # end # # # Test::Unit