Sha256: 9e6bf67f74575a95c497eed4621845f00755e57a3e294fc8929583aa86ed2129
Contents?: true
Size: 230 Bytes
Versions: 3
Compression:
Stored size: 230 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
3 entries across 3 versions & 1 rubygems
Version | Path |
---|---|
geopolitical-0.8.8 | spec/models/hood_spec.rb |
geopolitical-0.8.7 | spec/models/hood_spec.rb |
geopolitical-0.8.6 | spec/models/hood_spec.rb |