Sha256: 44914a0d6e856454033700c8138faf9e8d241d9db0ced3595fd4f4a2c1b5b9a0
Contents?: true
Size: 367 Bytes
Versions: 4
Compression:
Stored size: 367 Bytes
Contents
require 'spec' $:.unshift(File.dirname(__FILE__) + '/../../lib') require 'cucumber/formatters/unicode' 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
4 entries across 4 versions & 2 rubygems