Sha256: 19744de8c1ab3235fe46090b89b19880d52dd77cb3eb9edaabf793ec4205a5ff
Contents?: true
Size: 931 Bytes
Versions: 3
Compression:
Stored size: 931 Bytes
Contents
require 'pathname' require Pathname(__FILE__).ascend{|d| h=d+'test_helper.rb'; break h if h.file?} describe Mannequin::Address.new do subject { Mannequin::Address.new } describe "creating an address" do it "must have a street address" do subject.must_respond_to(:street_address) end it "must have a street number" do subject.must_respond_to(:street_number) end it "must have a street name" do subject.must_respond_to(:street_name) end it "must have a street type" do subject.must_respond_to(:street_type) end it "must have a city" do subject.must_respond_to(:city) end it "must have a state" do subject.must_respond_to(:state) end it "must have a state code" do subject.must_respond_to(:state_code) end it "must have a country" do subject.must_respond_to(:country) end end end
Version data entries
3 entries across 3 versions & 1 rubygems
Version | Path |
---|---|
mannequin-0.3.0 | test/lib/mannequin/address_test.rb |
mannequin-0.2.0 | test/lib/mannequin/address_test.rb |
mannequin-0.1.0 | test/lib/mannequin/address_test.rb |