Sha256: ed99268f0f3d76eeaca9005d60ff059dd878bfa5846fa2e127ac1c64b2aaf972
Contents?: true
Size: 476 Bytes
Versions: 1
Compression:
Stored size: 476 Bytes
Contents
# encoding: utf-8 begin require 'rspec/expectations'; rescue LoadError; require 'spec/expectations'; end require 'cucumber/formatter/unicode' $:.unshift(File.dirname(__FILE__) + '/../../lib') require 'calculator' Datfiind(/un calculator/) do @calc = Calculator.new end Cand(/introduc (\d+)/) do |n| @calc.push n.to_i end Cand('apăs tasta Egal') do @result = @calc.add end Atunci(/ecranul trebuie să afişeze (\d*)/) do |result| @result.should == result.to_i end
Version data entries
1 entries across 1 versions & 1 rubygems
Version | Path |
---|---|
cucumber-3.0.0.pre.2 | examples/i18n/ro/features/step_definitions/calculator_steps.rb |