Sha256: 6e33f4acb5eab652033725e24f336490df46fe3ede1a647409362306bc12cc07
Contents?: true
Size: 546 Bytes
Versions: 2
Compression:
Stored size: 546 Bytes
Contents
require 'test_helper' class GoogleMaps::GeocoderTest < ActiveSupport::TestCase def test_configure__free_account GoogleMaps.configure do |maps| end assert_equal false, GoogleMaps.enterprise_account? end def test_configure__enterprise_account GoogleMaps.configure do |maps| maps.client "foobar" maps.key "foobarkey" maps.use_enterprise_account end assert_equal "foobar", GoogleMaps.client assert_equal "foobarkey", GoogleMaps.key assert GoogleMaps.enterprise_account? end end
Version data entries
2 entries across 2 versions & 1 rubygems
Version | Path |
---|---|
google_maps-0.3.1 | test/google_maps_test.rb |
google_maps-0.3.0 | test/google_maps_test.rb |