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