Sha256: 85c3acf4e11fddf0569b4e0aa1d3f6efce3673365049015d88729fd631800ded
Contents?: true
Size: 823 Bytes
Versions: 11
Compression:
Stored size: 823 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' -%> <% 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
11 entries across 11 versions & 4 rubygems