Sha256: 5a329da3f1ef5265d3bc7f0af4cc8e6302e6dfae12738766379d652fae59157b
Contents?: true
Size: 1.01 KB
Versions: 66
Compression:
Stored size: 1.01 KB
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{|arg| arg.name.humanize}.join('|') %>| <% [1,2,4].each do |n| -%> |<%= named_args.map{|arg| arg.value(n)}.join('|') %>| <% end -%>
Version data entries
66 entries across 66 versions & 10 rubygems