Sha256: 7f90f539ed99b27fa9a0b925ec9caa96586b299a433c95d2ca86a98a7d83eddf
Contents?: true
Size: 387 Bytes
Versions: 16
Compression:
Stored size: 387 Bytes
Contents
require 'spec_helper' describe GeoZone do it "can be instantiated" do GeoZone.new.should be_an_instance_of(GeoZone) end it "can be saved successfully" do geo_country = GeoCountry.create(:name => 'test', :iso_code_2 => '12', :iso_code_3 => '345') GeoZone.create(:geo_country_id => geo_country.id, :zone_code => '12', :zone_name => 'test').should be_persisted end end
Version data entries
16 entries across 16 versions & 1 rubygems