Sha256: 923e6c6e0dfb879d8b3581c10bad2b05fc9d941e49af78682e20171f6ede03d1

Contents?: true

Size: 329 Bytes

Versions: 17

Compression:

Stored size: 329 Bytes

Contents

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

Before do
  @calc = Calculador.new
end

After do
end

Given /he introducido (\d+)/ do |n|
  @calc.push n.to_i
end

When 'aƱado' do
  @result = @calc.add
end

Then /el resultado debe ser (\d*)/ do |result|
  @result.should == result.to_i
end

Version data entries

17 entries across 17 versions & 5 rubygems

Version Path
aslakhellesoy-cucumber-0.1.10 examples/i18n/es/features/step_definitons/calculador_steps.rb
aslakhellesoy-cucumber-0.1.11 examples/i18n/es/features/step_definitons/calculador_steps.rb
aslakhellesoy-cucumber-0.1.12 examples/i18n/es/features/step_definitons/calculador_steps.rb
aslakhellesoy-cucumber-0.1.9 examples/i18n/es/features/step_definitons/calculador_steps.rb
bts-cucumber-0.1.13.1 examples/i18n/es/features/step_definitons/calculador_steps.rb
bts-cucumber-0.1.13.2 examples/i18n/es/features/step_definitons/calculador_steps.rb
bts-cucumber-0.1.13.3 examples/i18n/es/features/step_definitons/calculador_steps.rb
elight-cucumber-0.1.9 examples/spanish_calculator/features/steps/calculador_steps.rb
jeffrafter-cucumber-0.1.10 examples/i18n/es/features/step_definitons/calculador_steps.rb
jeffrafter-cucumber-0.1.12 examples/i18n/es/features/step_definitons/calculador_steps.rb
cucumber-0.1.11 examples/i18n/es/features/step_definitons/calculador_steps.rb
cucumber-0.1.10 examples/i18n/es/features/step_definitons/calculador_steps.rb
cucumber-0.1.12 examples/i18n/es/features/step_definitons/calculador_steps.rb
cucumber-0.1.7 examples/spanish_calculator/features/steps/calculador_steps.rb
cucumber-0.1.6 examples/spanish_calculator/features/steps/calculador_steps.rb
cucumber-0.1.8 examples/spanish_calculator/features/steps/calculador_steps.rb
cucumber-0.1.9 examples/i18n/es/features/step_definitons/calculador_steps.rb