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.99.23 examples/i18n/fi/features/step_definitons/laskin_steps.rb
aslakhellesoy-cucumber-0.1.99.3 examples/i18n/fi/features/step_definitons/laskin_steps.rb
aslakhellesoy-cucumber-0.1.99.5 examples/i18n/fi/features/step_definitons/laskin_steps.rb
aslakhellesoy-cucumber-0.1.99.6 examples/i18n/fi/features/step_definitons/laskin_steps.rb
aslakhellesoy-cucumber-0.1.99.7 examples/i18n/fi/features/step_definitons/laskin_steps.rb
aslakhellesoy-cucumber-0.1.99.8 examples/i18n/fi/features/step_definitons/laskin_steps.rb
aslakhellesoy-cucumber-0.1.99.9 examples/i18n/fi/features/step_definitons/laskin_steps.rb
aslakhellesoy-cucumber-0.2.0.1 examples/i18n/fi/features/step_definitons/laskin_steps.rb
aslakhellesoy-cucumber-0.2.0.2 examples/i18n/fi/features/step_definitons/laskin_steps.rb
aslakhellesoy-cucumber-0.2.0.3 examples/i18n/fi/features/step_definitons/laskin_steps.rb
aslakhellesoy-cucumber-0.2.0.4 examples/i18n/fi/features/step_definitons/laskin_steps.rb
aslakhellesoy-cucumber-0.2.0 examples/i18n/fi/features/step_definitons/laskin_steps.rb
aslakhellesoy-cucumber-0.2.1 examples/i18n/fi/features/step_definitons/laskin_steps.rb
aslakhellesoy-cucumber-0.2.2.1 examples/i18n/fi/features/step_definitons/laskin_steps.rb
aslakhellesoy-cucumber-0.2.2 examples/i18n/fi/features/step_definitons/laskin_steps.rb
kosmas58-cucumber-0.1.100.5 examples/i18n/fi/features/step_definitons/laskin_steps.rb
kosmas58-cucumber-0.1.99.21 examples/i18n/fi/features/step_definitons/laskin_steps.rb
kosmas58-cucumber-0.1.99.23 examples/i18n/fi/features/step_definitons/laskin_steps.rb
kosmas58-cucumber-0.2.0.1 examples/i18n/fi/features/step_definitons/laskin_steps.rb
kosmas58-cucumber-0.2.0 examples/i18n/fi/features/step_definitons/laskin_steps.rb