Sha256: d6f2d9eda48da99eeeb0b1548fed42384fed0da66657dd9d0ed68bbde994e23f
Contents?: true
Size: 1014 Bytes
Versions: 127
Compression:
Stored size: 1014 Bytes
Contents
Feature: Manage <%= plural_name %> In order to [goal] [stakeholder] wants [behaviour] Scenario: Register new <%= singular_name %> Given I am on the new <%= singular_name %> page <% keyword = 'When' -%> <% named_args.each do |arg| -%> <%= keyword %> I fill in "<%= arg.name.humanize %>" with "<%= arg.value(1) %>" <% keyword = 'And' -%> <% end -%> And I press "Create" <% keyword = 'Then' -%> <% named_args.each do |arg| -%> <%= keyword %> I should see "<%= arg.value(1) %>" <% keyword = 'And' -%> <% end -%> Scenario: Delete <%= singular_name %> Given the following <%= plural_name %>: |<%= named_args.map(&:name).join('|') %>| <% (1..4).each do |n| -%> |<%= named_args.map{|arg| arg.value(n)}.join('|') %>| <% end -%> When I delete the 3rd <%= singular_name %> Then I should see the following <%= plural_name %>: |<%= named_args.map(&:name).join('|') %>| <% [1,2,4].each do |n| -%> |<%= named_args.map{|arg| arg.value(n)}.join('|') %>| <% end -%>
Version data entries
127 entries across 127 versions & 9 rubygems