Skip to content

Commit

Permalink
Accepting, for now, that associations still require dealing with the …
Browse files Browse the repository at this point in the history
…Repositories.
  • Loading branch information
Evan Light committed Mar 15, 2013
1 parent ed688ba commit f3320d6
Showing 1 changed file with 3 additions and 0 deletions.
3 changes: 3 additions & 0 deletions spec/test_data.rb
Expand Up @@ -46,6 +46,9 @@ class ItemData < ActiveRecord::Base
# STEP2: Define domain objects
# --------------------------------------------------
class Order
def add_item attrs
repository.create_item self, attrs
end
end

class Item
Expand Down

0 comments on commit f3320d6

Please sign in to comment.