Sha256: 1f92a983d3179b3318f2ae4a95b80384872fac48566f2ff2843233b420dca188
Contents?: true
Size: 312 Bytes
Versions: 3
Compression:
Stored size: 312 Bytes
Contents
# TODO: Make the steps talk to your code steps_for :rubyfools do Given 'there are $n rubyfools' do |n| @initial = n.to_i end When 'I sell $n rubyfools' do |n| @sold = n.to_i end Then 'there should be $n rubyfools' do |n| @left = n.to_i + 1 (@initial - @sold).should == @left end end
Version data entries
3 entries across 3 versions & 1 rubygems