Sha256: 7164c1b01ebf2de2c8b086a9218d5acdcfc8fa0d0fdb911e88ca7be4997fcb70

Contents?: true

Size: 282 Bytes

Versions: 46

Compression:

Stored size: 282 Bytes

Contents

require 'spec_helper.rb'

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

46 entries across 46 versions & 3 rubygems

Version Path
creative-paypal-express-1.2.1 spec/paypal/exception/http_error_spec.rb
creative-paypal-express-1.2.0 spec/paypal/exception/http_error_spec.rb
creative-paypal-express-1.1.0 spec/paypal/exception/http_error_spec.rb
dfg-paypal-0.8.2 spec/paypal/exception/http_error_spec.rb
creative-paypal-express-1.0.1.dev2 spec/paypal/exception/http_error_spec.rb
creative-paypal-express-1.0.1.dev1 spec/paypal/exception/http_error_spec.rb
creative-paypal-express-1.0.0 spec/paypal/exception/http_error_spec.rb
creative-paypal-express-0.8.2.4 spec/paypal/exception/http_error_spec.rb
creative-paypal-express-0.8.2.3 spec/paypal/exception/http_error_spec.rb
creative-paypal-express-0.8.2.2 spec/paypal/exception/http_error_spec.rb
creative-paypal-express-0.8.2.1 spec/paypal/exception/http_error_spec.rb
creative-paypal-express-0.8.2 spec/paypal/exception/http_error_spec.rb
creative-paypal-express-0.8.1 spec/paypal/exception/http_error_spec.rb
paypal-express-0.8.1 spec/paypal/exception/http_error_spec.rb
paypal-express-0.8.0 spec/paypal/exception/http_error_spec.rb
paypal-express-0.7.1 spec/paypal/exception/http_error_spec.rb
paypal-express-0.7.0 spec/paypal/exception/http_error_spec.rb
paypal-express-0.6.0 spec/paypal/exception/http_error_spec.rb
paypal-express-0.5.5 spec/paypal/exception/http_error_spec.rb
paypal-express-0.5.4 spec/paypal/exception/http_error_spec.rb