Sha256: bda426482059db36dbb60a15de14488c94958f55eaddc3e0237781094f867242

Contents?: true

Size: 342 Bytes

Versions: 13

Compression:

Stored size: 342 Bytes

Contents

require 'spec'
$:.unshift(File.dirname(__FILE__) + '/../../lib')
require 'calcolatrice'

Before do
  @calc = Calcolatrice.new
end

After do
end

Given /che ho inserito (\d+)/ do |n|
  @calc.push n.to_i
end

When 'premo somma' do
  @result = @calc.add
end

Then /il risultato deve essere (\d*)/ do |result|
  @result.should == result.to_i
end

Version data entries

13 entries across 13 versions & 4 rubygems

Version Path
aslakhellesoy-cucumber-0.1.10 examples/i18n/it/features/step_definitons/calcolatrice_steps.rb
aslakhellesoy-cucumber-0.1.11 examples/i18n/it/features/step_definitons/calcolatrice_steps.rb
aslakhellesoy-cucumber-0.1.12 examples/i18n/it/features/step_definitons/calcolatrice_steps.rb
aslakhellesoy-cucumber-0.1.9 examples/i18n/it/features/step_definitons/calcolatrice_steps.rb
bts-cucumber-0.1.13.1 examples/i18n/it/features/step_definitons/calcolatrice_steps.rb
bts-cucumber-0.1.13.2 examples/i18n/it/features/step_definitons/calcolatrice_steps.rb
bts-cucumber-0.1.13.3 examples/i18n/it/features/step_definitons/calcolatrice_steps.rb
jeffrafter-cucumber-0.1.10 examples/i18n/it/features/step_definitons/calcolatrice_steps.rb
jeffrafter-cucumber-0.1.12 examples/i18n/it/features/step_definitons/calcolatrice_steps.rb
cucumber-0.1.12 examples/i18n/it/features/step_definitons/calcolatrice_steps.rb
cucumber-0.1.11 examples/i18n/it/features/step_definitons/calcolatrice_steps.rb
cucumber-0.1.10 examples/i18n/it/features/step_definitons/calcolatrice_steps.rb
cucumber-0.1.9 examples/i18n/it/features/step_definitons/calcolatrice_steps.rb