spec/dice_spec.rb in rdice-0.0.4 vs spec/dice_spec.rb in rdice-1.0.0
- old
+ new
@@ -107,10 +107,10 @@
end
describe ".roll_two_d10" do
let(:dice) { Dice.new(12,3) }
- it "return value between 1 to 10" do
+ it "return value between 2 to 20" do
NTIMES.times { 2.upto(20).include?(dice.roll_two_d10).should be_true }
end
it "can be less than 2" do
NTIMES.times { dice.roll_two_d10.should_not < 2 }
\ No newline at end of file