Sha256: 548d4f04d7f20b3be787f969ed70f4be0b3358cc4d7d57ae99bc27d00d8733c8

Contents?: true

Size: 664 Bytes

Versions: 11

Compression:

Stored size: 664 Bytes

Contents

Given('there are {int} {float} coins inside') do |count, coin_type|
  expect(count).not_to be_nil
  expect(coin_type.to_s).not_to be_empty
end

When('the customer tries to buy a {float} chocolate with a {int} coin') do |count, coin_type|
  expect(count).not_to be_nil
  expect(coin_type.to_s).not_to be_empty
end

Then('the sale should not happen') do
  true
end

Given('there are {int} chocolates inside') do |count|
  expect(count).not_to be_nil
end

Then("the customer's change should be {int} {float} coin") do |count, coin_type|
  expect(count).not_to be_nil
  expect(coin_type.to_s).not_to be_empty
end

Given('there are no chocolates inside') do
  true
end

Version data entries

11 entries across 11 versions & 1 rubygems

Version Path
cucumber-compatibility-kit-12.0.0 features/rules/rules.feature.rb
cucumber-compatibility-kit-11.3.0 features/rules/rules.feature.rb
cucumber-compatibility-kit-11.2.0 features/rules/rules.feature.rb
cucumber-compatibility-kit-11.0.1 features/rules/rules.feature.rb
cucumber-compatibility-kit-11.0.0 features/rules/rules.feature.rb
cucumber-compatibility-kit-10.0.0 features/rules/rules.feature.rb
cucumber-compatibility-kit-9.2.1 features/rules/rules.feature.rb
cucumber-compatibility-kit-9.2.0 features/rules/rules.feature.rb
cucumber-compatibility-kit-9.1.2 features/rules/rules.feature.rb
cucumber-compatibility-kit-9.1.1 features/rules/rules.feature.rb
cucumber-compatibility-kit-9.1.0 features/rules/rules.feature.rb