Sha256: 01bdcdd67e324cd3ac5feb172ffdd49ac3ea17ab6bdb309bb6972fc21db2ec11

Contents?: true

Size: 901 Bytes

Versions: 26

Compression:

Stored size: 901 Bytes

Contents

Feature: Manage <%= plural_name %>
  In order to keep track of <%= plural_name %>
  A <%= singular_name %> mechanic
  Should be able to manage several <%= plural_name %>
  
  Scenario: Register new <%= singular_name %>
    Given I am on the new <%= singular_name %> page
<% keyword = 'When' -%>
<% args.each do |arg| -%>
    <%= keyword %> I fill in "<%= arg.humanize %>" with "My <%= singular_name %> <%= arg %>"
<% keyword = 'And' -%>
<% end -%>
    And I press "Create"
<% keyword = 'Then' -%>
<% args.each do |arg| -%>
    <%= keyword %> I should see "My <%= singular_name %> <%= arg %>"
<% keyword = 'And' -%>
<% end -%>

  Scenario: Delete <%= singular_name %>
    Given there are 4 <%= plural_name %>
    When I delete the first <%= singular_name %>
    Then there should be 3 <%= plural_name %> left
    
  More Examples:
    | initial | after |
    | 100     | 99    |
    | 1       | 0     |

Version data entries

26 entries across 26 versions & 4 rubygems

Version Path
aslakhellesoy-cucumber-0.1.9 rails_generators/feature/templates/feature.erb
elight-cucumber-0.1.9 rails_generators/feature/templates/feature.erb
newgem-1.5.3 cucumber_generators/feature/templates/feature.erb
newgem-1.5.0 cucumber_generators/feature/templates/feature.erb
newgem-1.5.1 cucumber_generators/feature/templates/feature.erb
newgem-1.5.2 cucumber_generators/feature/templates/feature.erb
cucumber-0.1.8 rails_generators/feature/templates/feature.erb
cucumber-0.1.9 rails_generators/feature/templates/feature.erb
newgem-0.29.0 cucumber_generators/feature/templates/feature.erb
newgem-0.28.0 cucumber_generators/feature/templates/feature.erb
newgem-1.0.0 cucumber_generators/feature/templates/feature.erb
newgem-1.0.4 cucumber_generators/feature/templates/feature.erb
newgem-1.0.5 cucumber_generators/feature/templates/feature.erb
newgem-1.0.1 cucumber_generators/feature/templates/feature.erb
newgem-1.0.2 cucumber_generators/feature/templates/feature.erb
newgem-1.0.3 cucumber_generators/feature/templates/feature.erb
newgem-1.0.6 cucumber_generators/feature/templates/feature.erb
newgem-1.0.7 cucumber_generators/feature/templates/feature.erb
newgem-1.2.0 cucumber_generators/feature/templates/feature.erb
newgem-1.1.0 cucumber_generators/feature/templates/feature.erb