Skip to content

Commit

Permalink
[back_assignments] add pet fixctures model
Browse files Browse the repository at this point in the history
  • Loading branch information
yann ARMAND committed Mar 13, 2015
1 parent a1d431c commit 12b54be
Showing 1 changed file with 6 additions and 0 deletions.
6 changes: 6 additions & 0 deletions spec/fixtures/models/pet.rb
Original file line number Diff line number Diff line change
@@ -0,0 +1,6 @@
class Pet < CouchRest::Model::Base
property :name, String

belongs_to :walker, :class_name => 'Parent'
belongs_to :owner, :class_name => 'Parent'
end

0 comments on commit 12b54be

Please sign in to comment.