Sha256: 6a736009998e92ce2f7dd9ae1eb42205dd092e1f4d0ea7df1b213c42cb05a830

Contents?: true

Size: 257 Bytes

Versions: 3

Compression:

Stored size: 257 Bytes

Contents

describe Paypal::Exception::HttpError do
  subject { Paypal::Exception::HttpError.new(400, 'BadRequest', 'You are bad man!') }
  its(:code)    { should == 400 }
  its(:message) { should == 'BadRequest' }
  its(:body)    { should == 'You are bad man!' }
end

Version data entries

3 entries across 3 versions & 1 rubygems

Version Path
creative-paypal-express-1.4.1 spec/paypal/exception/http_error_spec.rb
creative-paypal-express-1.4.0 spec/paypal/exception/http_error_spec.rb
creative-paypal-express-1.3.0 spec/paypal/exception/http_error_spec.rb