Sha256: 914c926f89769e8222ce3561fbc07a0f3e4a4fa19f57f4314343662a49e88735
Contents?: true
Size: 348 Bytes
Versions: 1
Compression:
Stored size: 348 Bytes
Contents
require "spec_helper" describe Dice::Config do it "have dices as 1 and faces as 6 as default" do dice = Dice.new Dice::Config.faces.should == 6 Dice::Config.dices.should == 1 end it "set dices and faces as requested" do dice = Dice.new(12,3) Dice::Config.faces.should == 12 Dice::Config.dices.should == 3 end end
Version data entries
1 entries across 1 versions & 1 rubygems
Version | Path |
---|---|
rdice-0.0.3 | spec/config_spec.rb |