Sha256: 6360e72f89f89f6e14435b502b3f4084216b0d7851dbd3867de139dfe3fb0ebb
Contents?: true
Size: 231 Bytes
Versions: 1
Compression:
Stored size: 231 Bytes
Contents
require File.join(File.dirname(__FILE__), "/../../spec_helper") describe Factorial do it "should be able to return the factorial of a number" do Factorial.call(3).should eql(6) Factorial.call(6).should eql(720) end end
Version data entries
1 entries across 1 versions & 1 rubygems
Version | Path |
---|---|
davidrichards-tegu_gears-0.0.3 | spec/lib/examples/factorial_spec.rb |