Sha256: 0d9722c2c28379d470fa5566480db006ef5c9027bada775082204b025a595bd5

Contents?: true

Size: 346 Bytes

Versions: 1

Compression:

Stored size: 346 Bytes

Contents

require 'apple_push_certs'

describe ApplePushCerts::Customer::CSR do
  before do
    @csr  = ApplePushCerts::Customer::CSR.new
  end

  it 'initializes' do
    @csr.should be_a_kind_of(OpenSSL::X509::Request)    
  end

  it 'generates a csr' do
    matches = @csr.to_s.match /BEGIN CERTIFICATE REQUEST/
    matches.should_not eq(nil)
  end

end

Version data entries

1 entries across 1 versions & 1 rubygems

Version Path
apple_push_certs-0.0.1 spec/customer_csr_spec.rb