From fd5f5cec074721d78fabd91288526f4e0a874d13 Mon Sep 17 00:00:00 2001 From: David James Date: Mon, 28 Jul 2008 18:06:48 -0400 Subject: [PATCH] Fixing 'association' typos --- lib/dm-core/associations/one_to_many.rb | 2 +- spec/integration/association_spec.rb | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-) diff --git a/lib/dm-core/associations/one_to_many.rb b/lib/dm-core/associations/one_to_many.rb index cda70ae4..b52173fd 100644 --- a/lib/dm-core/associations/one_to_many.rb +++ b/lib/dm-core/associations/one_to_many.rb @@ -244,7 +244,7 @@ def children end def assert_mutable - raise ImmutableAssociationError, 'You can not modify this assocation' if children.frozen? + raise ImmutableAssociationError, 'You can not modify this association' if children.frozen? end def default_attributes diff --git a/spec/integration/association_spec.rb b/spec/integration/association_spec.rb index 6ebf8f01..3d2746b1 100644 --- a/spec/integration/association_spec.rb +++ b/spec/integration/association_spec.rb @@ -1206,7 +1206,7 @@ def create_item_pair(number) @li = LeftItem.new(:name => "li#{number}") end - it "should add to the assocaiton from the left" do + it "should add to the association from the left" do pending "Waiting on Many To Many to be implemented" do create_item_pair "0000" @ri.save; @li.save