view lib/generators/redmine_plugin_model/templates/.svn/text-base/fixtures.yml.svn-base @ 678:97815d819fd3 feature_36_testing

New approach for Feature #238, based on partials.
author luisf <luis.figueira@eecs.qmul.ac.uk>
date Tue, 13 Sep 2011 18:13:06 +0100
parents 513646585e45
children
line wrap: on
line source
# Read about fixtures at http://ar.rubyonrails.org/classes/Fixtures.html
one:
  id: 1
<% for attribute in attributes -%>
  <%= attribute.name %>: <%= attribute.default %>
<% end -%>
two:
  id: 2
<% for attribute in attributes -%>
  <%= attribute.name %>: <%= attribute.default %>
<% end -%>