test/units/geo_certs_test.rb in geocerts-0.0.25 vs test/units/geo_certs_test.rb in geocerts-1.0.0
- old
+ new
@@ -4,16 +4,16 @@
context 'GeoCerts' do
should 'use the sandbox host' do
setting(GeoCerts, :sandbox, :to => true) do
- assert_equal('sandbox.geocerts.com', GeoCerts.host)
+ assert_equal('https://sandbox.geocerts.com', GeoCerts.host)
end
end
should 'use the production host' do
setting(GeoCerts, :sandbox, :to => false) do
- assert_equal('www.geocerts.com', GeoCerts.host)
+ assert_equal('https://www.geocerts.com', GeoCerts.host)
end
end
should 'use the given host' do
setting(GeoCerts, :host, :to => 'test.com', :back => nil) do