Sha256: f3961e36e721e07836e9c125d2f03e29dc482d0447d6626828517d95ae1ba3b3

Contents?: true

Size: 386 Bytes

Versions: 13

Compression:

Stored size: 386 Bytes

Contents

require 'test_helper'

class GeoCertsTest < Test::Unit::TestCase
  
  context 'GeoCerts' do
    
    should 'use the sandbox host' do
      GeoCerts.sandbox = true
      assert_equal('sandbox.geocerts.com', GeoCerts.host)
    end
    
    should 'use the production host' do
      GeoCerts.sandbox = false
      assert_equal('www.geocerts.com', GeoCerts.host)
    end
    
  end
  
end

Version data entries

13 entries across 13 versions & 1 rubygems

Version Path
geocerts-0.0.23 test/units/geo_certs_test.rb
geocerts-0.0.22 test/units/geo_certs_test.rb
geocerts-0.0.21 test/units/geo_certs_test.rb
geocerts-0.0.20 test/units/geo_certs_test.rb
geocerts-0.0.19 test/units/geo_certs_test.rb
geocerts-0.0.18 test/units/geo_certs_test.rb
geocerts-0.0.17 test/units/geo_certs_test.rb
geocerts-0.0.16 test/units/geo_certs_test.rb
geocerts-0.0.15 test/units/geo_certs_test.rb
geocerts-0.0.14 test/units/geo_certs_test.rb
geocerts-0.0.13 test/units/geo_certs_test.rb
geocerts-0.0.12 test/units/geo_certs_test.rb
geocerts-0.0.11 test/units/geo_certs_test.rb