spec/models/hood_spec.rb in geopolitical-0.9.1 vs spec/models/hood_spec.rb in geopolitical-0.9.3
- old
+ new
@@ -7,14 +7,17 @@
it 'should belong to city' do
expect(Hood.make(city: nil)).to_not be_valid
end
+ it 'should not to city' do
+ expect(Hood.make(city: nil)).to_not be_valid
+ end
+
it 'should accept area phone code modified regex' do
expect(Hood.make(phone: '115555XXXX')).to be_valid
end
it 'should accept area postal code modified regex' do
expect(Hood.make(postal: '15123123')).to be_valid
end
-
end