Skip to content

Commit

Permalink
Fixed a small bug in the features generator
Browse files Browse the repository at this point in the history
  • Loading branch information
aslakhellesoy committed Dec 11, 2008
1 parent 2d1fc5d commit f915a45
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions rails_generators/feature/templates/feature.erb
Original file line number Diff line number Diff line change
Expand Up @@ -23,9 +23,9 @@ Feature: Manage <%= plural_name %>
<% (1..4).each do |n| -%>
|<%= named_args.map{|arg| arg.value(n)}.join('|') %>|
<% end -%>
When I delete the first <%= singular_name %>
When I delete the 3rd <%= singular_name %>
Then I should see the following <%= plural_name %>:
|<%= named_args.map(&:name).join('|') %>|
<% (2..4).each do |n| -%>
<% [1,2,4].each do |n| -%>
|<%= named_args.map{|arg| arg.value(n)}.join('|') %>|
<% end -%>

0 comments on commit f915a45

Please sign in to comment.