Sha256: db17a51a30ccd795e6918276a155c88b15d5e737a12686aa290ed2b84723876b
Contents?: true
Size: 232 Bytes
Versions: 1
Compression:
Stored size: 232 Bytes
Contents
require 'spec_helper' describe Hood, type: :model do it 'should create a nation' do expect { Hood.make! }.not_to raise_error end it 'should belong to city' do expect(Hood.make(city: nil)).to_not be_valid end end
Version data entries
1 entries across 1 versions & 1 rubygems
Version | Path |
---|---|
geopolitical-0.8.4 | spec/models/hood_spec.rb |