Skip to content
This repository

HTTPS clone URL

Subversion checkout URL

You can clone with HTTPS or Subversion.

Download ZIP
Browse code

Accepting, for now, that associations still require dealing with the …

…Repositories.
  • Loading branch information...
commit 5f53d7351756755849fa63554ad4367dfc95cb33 1 parent 70aace0
authored March 15, 2013

Showing 1 changed file with 3 additions and 0 deletions. Show diff stats Hide diff stats

  1. 3  spec/test_data.rb
3  spec/test_data.rb
@@ -46,6 +46,9 @@ class ItemData < ActiveRecord::Base
46 46
 # STEP2: Define domain objects
47 47
 # --------------------------------------------------
48 48
 class Order
  49
+  def add_item attrs
  50
+    repository.create_item self, attrs
  51
+  end
49 52
 end
50 53
 
51 54
 class Item

0 notes on commit 5f53d73

Please sign in to comment.
Something went wrong with that request. Please try again.