Sha256: 6cd9ba85d09d05d9e9183dc65413dfdede4aa0ff1e0737483c253fbfcc2cea6b

Contents?: true

Size: 342 Bytes

Versions: 1

Compression:

Stored size: 342 Bytes

Contents

require 'mr/factory'
require 'test/support/models/comment'

module Factory; end
Factory::Comment = MR::Factory.new(Comment, CommentRecord) do
  default_args do
    set :parent_type, 'UserRecord'
  end
end
Factory::FakeComment = MR::Factory.new(Comment, FakeCommentRecord) do
  default_args do
    set :parent_type, 'FakeUserRecord'
  end
end

Version data entries

1 entries across 1 versions & 1 rubygems

Version Path
mr-0.35.2 test/support/factory/comment.rb