Sha256: 4bc760f57c59c913c8c14a4f5966609cd1b8875337642b505a60c1e731408038

Contents?: true

Size: 411 Bytes

Versions: 13

Compression:

Stored size: 411 Bytes

Contents

# encoding: utf-8
require 'spec/expectations'
$:.unshift(File.dirname(__FILE__) + '/../../lib')
require 'cucumber/formatters/unicode'
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 & 3 rubygems

Version Path
aslakhellesoy-cucumber-0.1.14.1 examples/i18n/it/features/step_definitons/calcolatrice_steps.rb
aslakhellesoy-cucumber-0.1.14.2 examples/i18n/it/features/step_definitons/calcolatrice_steps.rb
aslakhellesoy-cucumber-0.1.15 examples/i18n/it/features/step_definitons/calcolatrice_steps.rb
aslakhellesoy-cucumber-0.1.16.1 examples/i18n/it/features/step_definitons/calcolatrice_steps.rb
aslakhellesoy-cucumber-0.1.16.2 examples/i18n/it/features/step_definitons/calcolatrice_steps.rb
aslakhellesoy-cucumber-0.1.16.3 examples/i18n/it/features/step_definitons/calcolatrice_steps.rb
aslakhellesoy-cucumber-0.1.16.4 examples/i18n/it/features/step_definitons/calcolatrice_steps.rb
aslakhellesoy-cucumber-0.1.16 examples/i18n/it/features/step_definitons/calcolatrice_steps.rb
kosmas58-cucumber-0.1.16.5 examples/i18n/it/features/step_definitons/calcolatrice_steps.rb
kosmas58-cucumber-0.1.16.6 examples/i18n/it/features/step_definitons/calcolatrice_steps.rb
cucumber-0.1.14 examples/i18n/it/features/step_definitons/calcolatrice_steps.rb
cucumber-0.1.15 examples/i18n/it/features/step_definitons/calcolatrice_steps.rb
cucumber-0.1.16 examples/i18n/it/features/step_definitons/calcolatrice_steps.rb