Sha256: 19bc4c65ea52c3d2e93fa9106c023f0d845de6a6ba6b62c9cae8f737a44f4f08
Contents?: true
Size: 249 Bytes
Versions: 2
Compression:
Stored size: 249 Bytes
Contents
require 'spec_helper' describe Hood do it "should create a nation" do lambda { Hood.make! }.should_not raise_error end it "should belong to city" do Fabricate.build(:hood, :city => nil).should have(1).error_on(:city) end end
Version data entries
2 entries across 2 versions & 1 rubygems
Version | Path |
---|---|
geopolitical-0.8.1 | spec/models/hood_spec.rb |
geopolitical-0.8.0 | spec/models/hood_spec.rb |