Sha256: 577be19d345c9fdc05281f753107578d8e64bb9222b245d77449072ba47efa63

Contents?: true

Size: 260 Bytes

Versions: 12

Compression:

Stored size: 260 Bytes

Contents

Factory.define :<%= singular_name %>, :parent => :node, :class => <%= singular_name.camelize %> do |<%= singular_name %>|
<% for attribute in attributes -%>
  <%= singular_name %>.<%= attribute.name %> {Faker::Lorem.words(5).join(' ').titleize}
<% end -%>
end

Version data entries

12 entries across 12 versions & 1 rubygems

Version Path
noodall-ui-0.0.13 generators/node/templates/factory.rb
noodall-ui-0.0.12 generators/node/templates/factory.rb
noodall-ui-0.0.11 generators/node/templates/factory.rb
noodall-ui-0.0.10 generators/node/templates/factory.rb
noodall-ui-0.0.9 generators/node/templates/factory.rb
noodall-ui-0.0.8 generators/node/templates/factory.rb
noodall-ui-0.0.7 generators/node/templates/factory.rb
noodall-ui-0.0.6 generators/node/templates/factory.rb
noodall-ui-0.0.5 generators/node/templates/factory.rb
noodall-ui-0.0.4 generators/node/templates/factory.rb
noodall-ui-0.0.3 generators/node/templates/factory.rb
noodall-ui-0.0.2 generators/node/templates/factory.rb