Sha256: 25278bb00f2db843b5c713683af016e4dc4b6b9beaff1f044d236aa9a9f1a958
Contents?: true
Size: 445 Bytes
Versions: 4
Compression:
Stored size: 445 Bytes
Contents
# encoding: utf-8 require 'test_helper' require 'uncharted' class TestMongoidAdapter < MiniTest::Unit::TestCase def setup @country_field = Uncharted::Country::Field.new @territory_field = Uncharted::Territory::Field.new end def test_country_adapter assert_equal 'BR', @country_field.serialize(Uncharted::Country.find('BR')) assert_equal 'BR-PR', @territory_field.serialize(Uncharted::Territory.find('BR-PR')) end end
Version data entries
4 entries across 4 versions & 1 rubygems
Version | Path |
---|---|
uncharted-0.0.8 | test/mongoid_test.rb |
uncharted-0.0.7.beta1 | test/mongoid_test.rb |
uncharted-0.0.6 | test/mongoid_test.rb |
uncharted-0.0.5 | test/mongoid_test.rb |