Sha256: d04502ddaf073055aa901c627a46844403e6c9d13bfb48b2352f97c79aef5df1
Contents?: true
Size: 647 Bytes
Versions: 1
Compression:
Stored size: 647 Bytes
Contents
require 'pathname' require Pathname(__FILE__).ascend{|d| h=d+'test_helper.rb'; break h if h.file?} describe Mannequin::Number.new do subject { Mannequin::Number.new } describe "creating number" do it "must have numbers 1 through 9 digits in length" do subject.must_respond_to(:digits_1) subject.must_respond_to(:digits_2) subject.must_respond_to(:digits_3) subject.must_respond_to(:digits_4) subject.must_respond_to(:digits_5) subject.must_respond_to(:digits_6) subject.must_respond_to(:digits_7) subject.must_respond_to(:digits_8) subject.must_respond_to(:digits_9) end end end
Version data entries
1 entries across 1 versions & 1 rubygems
Version | Path |
---|---|
mannequin-0.3.0 | test/lib/mannequin/number_test.rb |