Sha256: 7a11ace2dbf1a719dc188b569db0fa4ef0373ae7c1566a99dd872da979fc28ef

Contents?: true

Size: 452 Bytes

Versions: 45

Compression:

Stored size: 452 Bytes

Contents

# encoding: utf-8
require 'spec/expectations'
$:.unshift(File.dirname(__FILE__) + '/../../lib')
require 'cucumber/formatters/unicode'
require 'laskin'

Before do
  @laskin = Laskin.new
end

After do
end

Given /että olen syöttänyt laskimeen luvun (\d+)/ do |n|
  @laskin.pinoa n.to_i
end

When /painan "(\w+)"/ do |op|
  @tulos = @laskin.send op
end

Then /laskimen ruudulla pitäisi näkyä tulos (.*)/ do |tulos|
  @tulos.should == tulos.to_f
end

Version data entries

45 entries across 45 versions & 4 rubygems

Version Path
aslakhellesoy-cucumber-0.1.100.1 examples/i18n/fi/features/step_definitons/laskin_steps.rb
aslakhellesoy-cucumber-0.1.100.2 examples/i18n/fi/features/step_definitons/laskin_steps.rb
aslakhellesoy-cucumber-0.1.100.3 examples/i18n/fi/features/step_definitons/laskin_steps.rb
aslakhellesoy-cucumber-0.1.100.4 examples/i18n/fi/features/step_definitons/laskin_steps.rb
aslakhellesoy-cucumber-0.1.100.5 examples/i18n/fi/features/step_definitons/laskin_steps.rb
aslakhellesoy-cucumber-0.1.16.5 examples/i18n/fi/features/step_definitons/laskin_steps.rb
aslakhellesoy-cucumber-0.1.99.1 examples/i18n/fi/features/step_definitons/laskin_steps.rb
aslakhellesoy-cucumber-0.1.99.10 examples/i18n/fi/features/step_definitons/laskin_steps.rb
aslakhellesoy-cucumber-0.1.99.11 examples/i18n/fi/features/step_definitons/laskin_steps.rb
aslakhellesoy-cucumber-0.1.99.12 examples/i18n/fi/features/step_definitons/laskin_steps.rb
aslakhellesoy-cucumber-0.1.99.13 examples/i18n/fi/features/step_definitons/laskin_steps.rb
aslakhellesoy-cucumber-0.1.99.14 examples/i18n/fi/features/step_definitons/laskin_steps.rb
aslakhellesoy-cucumber-0.1.99.15 examples/i18n/fi/features/step_definitons/laskin_steps.rb
aslakhellesoy-cucumber-0.1.99.17 examples/i18n/fi/features/step_definitons/laskin_steps.rb
aslakhellesoy-cucumber-0.1.99.18 examples/i18n/fi/features/step_definitons/laskin_steps.rb
aslakhellesoy-cucumber-0.1.99.19 examples/i18n/fi/features/step_definitons/laskin_steps.rb
aslakhellesoy-cucumber-0.1.99.2 examples/i18n/fi/features/step_definitons/laskin_steps.rb
aslakhellesoy-cucumber-0.1.99.20 examples/i18n/fi/features/step_definitons/laskin_steps.rb
aslakhellesoy-cucumber-0.1.99.21 examples/i18n/fi/features/step_definitons/laskin_steps.rb
aslakhellesoy-cucumber-0.1.99.22 examples/i18n/fi/features/step_definitons/laskin_steps.rb