Sha256: d63cc86ae30554929dc3b43a572dcf5886cd9f30a2c9bf4957b7cbbf709d8bfb
Contents?: true
Size: 320 Bytes
Versions: 8
Compression:
Stored size: 320 Bytes
Contents
steps_for :<%= gem_name %> do Given 'there are $n <%= gem_name %>' do |n| <%= module_name %>.initial = n.to_i end When 'I sell $n <%= gem_name %>' do |n| <%= module_name %>.sold = n.to_i end Then 'there should be $n <%= gem_name %> left' do |n| <%= module_name %>.left.should == n.to_i end end
Version data entries
8 entries across 8 versions & 1 rubygems