Sha256: 177717a2856cb48e8bffb27d6826145de8ee62b7d9ac76988ab46180e09ded48

Contents?: true

Size: 181 Bytes

Versions: 9

Compression:

Stored size: 181 Bytes

Contents

class <%= camelize name %>Factory < BaseFactory

  register <%= module_name %>::<%= camelize name %>

  define :title, "Hello Title"
  define :content, "This is hello content."
end

Version data entries

9 entries across 9 versions & 1 rubygems

Version Path
apimaster-0.1.4 lib/apimaster/generators/templates/test/factory/example_factory.rb.erb
apimaster-0.1.3 lib/apimaster/generators/templates/test/factory/example_factory.rb.erb
apimaster-0.1.2 lib/apimaster/generators/templates/test/factory/example_factory.rb.erb
apimaster-0.1.1 lib/apimaster/generators/templates/test/factory/example_factory.rb.erb
apimaster-0.0.7 lib/apimaster/generators/templates/test/factory/example_factory.rb.erb
apimaster-0.0.6 lib/apimaster/generators/templates/test/factory/example_factory.rb.erb
apimaster-0.0.5 lib/apimaster/generators/templates/test/factory/example_factory.rb.erb
apimaster-0.0.4 lib/apimaster/generators/templates/test/factory/example_factory.rb.erb
apimaster-0.0.3 lib/apimaster/generators/templates/test/factory/example_factory.rb.erb