2
begin require 'rspec/expectations'; rescue LoadError; require 'spec/expectations'; end
3
require 'cucumber/formatter/unicode'
4
$:.unshift(File.dirname(__FILE__) + '/../../lib')
14
Given /I have entered (\d+) into the calculator/ do |n|
18
When /I press (\w+)/ do |op|
19
@result = @calc.send op
22
Then /the result should be (.*) on the screen/ do |result|
23
@result.should == result.to_f