Sha256: 90980e6419df4577d9dedf50575304439ed0b9ad90d95cb74ec9c3cc4335eddf

Contents?: true

Size: 153 Bytes

Versions: 7

Compression:

Stored size: 153 Bytes

Contents

Factory.sequence :name do |n|
  "a_name#{n}"
end

Factory.define :comment do |f|
  f.body { Factory.next(:name) }
  f.user {|a| a.association(:user)}
end

Version data entries

7 entries across 7 versions & 1 rubygems

Version Path
muck-comments-0.1.1 test/factories.rb
muck-comments-0.1.2 test/factories.rb
muck-comments-0.1.3 test/factories.rb
muck-comments-0.1.4 test/factories.rb
muck-comments-0.1.5 test/factories.rb
muck-comments-0.1.6 test/factories.rb
muck-comments-0.1.0 test/factories.rb