Sha256: 3eb0f3c85c50feab1e36f0c4b4e5054ed6f37ae894d506bbc23293c3910903d6

Contents?: true

Size: 400 Bytes

Versions: 51

Compression:

Stored size: 400 Bytes

Contents

# Read about fixtures at http://api.rubyonrails.org/classes/ActiveRecord/FixtureSet.html

<% unless attributes.empty? -%>
one:
<% for attribute in attributes -%>
  <%= attribute.name %>: <%= attribute.default %>
<% end -%>

two:
<% for attribute in attributes -%>
  <%= attribute.name %>: <%= attribute.default %>
<% end -%>
<% else -%>
# one:
#   column: value
#
# two:
#   column: value
<% end -%>

Version data entries

51 entries across 50 versions & 7 rubygems

Version Path
rspec-rails-3.9.1 lib/generators/rspec/model/templates/fixtures.yml
rspec-rails-3.8.3 lib/generators/rspec/model/templates/fixtures.yml
rspec-rails-3.9.0 lib/generators/rspec/model/templates/fixtures.yml
rspec-rails-4.0.0.beta2 lib/generators/rspec/model/templates/fixtures.yml
rspec-rails-3.8.2 lib/generators/rspec/model/templates/fixtures.yml
rspec-rails-3.8.1 lib/generators/rspec/model/templates/fixtures.yml
rspec-rails-3.8.0 lib/generators/rspec/model/templates/fixtures.yml
rspec-rails-3.7.2 lib/generators/rspec/model/templates/fixtures.yml
rspec-rails-3.7.1 lib/generators/rspec/model/templates/fixtures.yml
rspec-rails-3.7.0 lib/generators/rspec/model/templates/fixtures.yml
rspec-rails-3.6.1 lib/generators/rspec/model/templates/fixtures.yml
rspec-rails-3.6.0 lib/generators/rspec/model/templates/fixtures.yml
enju_leaf-1.2.1 vendor/bundle/ruby/2.3/gems/rspec-rails-3.5.2/lib/generators/rspec/model/templates/fixtures.yml
rspec-rails-3.6.0.beta2 lib/generators/rspec/model/templates/fixtures.yml
rspec-rails-3.6.0.beta1 lib/generators/rspec/model/templates/fixtures.yml
rspec-rails-3.5.2 lib/generators/rspec/model/templates/fixtures.yml
rspec-rails-3.5.1 lib/generators/rspec/model/templates/fixtures.yml
rspec-rails-3.5.0 lib/generators/rspec/model/templates/fixtures.yml
rspec-rails-3.5.0.beta4 lib/generators/rspec/model/templates/fixtures.yml
ish_lib_manager-0.0.1 test/dummy/vendor/bundle/ruby/2.3.0/gems/rspec-rails-3.4.2/lib/generators/rspec/model/templates/fixtures.yml