Sha256: b8ade0060eee027187c5a10d95a774a91a57be3d06954ebedbb5252f61c25417

Contents?: true

Size: 437 Bytes

Versions: 17

Compression:

Stored size: 437 Bytes

Contents

require 'test_helper'

class CertificateTest < Test::Unit::TestCase
  
  context 'Certificate' do
    
    context 'trial' do
      
      should 'be true when set to "true"' do
        assert_kind_of(TrueClass, GeoCerts::Certificate.new(:trial => 'true').trial)
      end
      
      should 'be false' do
        assert_kind_of(FalseClass, GeoCerts::Certificate.new(:trial => 'false').trial)
      end
      
    end
    
  end
  
end

Version data entries

17 entries across 17 versions & 1 rubygems

Version Path
geocerts-1.0.1 test/units/certificate_test.rb
geocerts-1.0.0 test/units/certificate_test.rb
geocerts-0.0.25 test/units/certificate_test.rb
geocerts-0.0.24 test/units/certificate_test.rb
geocerts-0.0.23 test/units/certificate_test.rb
geocerts-0.0.22 test/units/certificate_test.rb
geocerts-0.0.21 test/units/certificate_test.rb
geocerts-0.0.20 test/units/certificate_test.rb
geocerts-0.0.19 test/units/certificate_test.rb
geocerts-0.0.18 test/units/certificate_test.rb
geocerts-0.0.17 test/units/certificate_test.rb
geocerts-0.0.16 test/units/certificate_test.rb
geocerts-0.0.15 test/units/certificate_test.rb
geocerts-0.0.14 test/units/certificate_test.rb
geocerts-0.0.13 test/units/certificate_test.rb
geocerts-0.0.12 test/units/certificate_test.rb
geocerts-0.0.11 test/units/certificate_test.rb