Sha256: b252f5e37341aac9d2cb8e7f008d31dca0aebd808951491adb4055dcce49a27b
Contents?: true
Size: 463 Bytes
Versions: 7
Compression:
Stored size: 463 Bytes
Contents
require 'spec_helper.rb' describe Paypal::Exception::HttpError do subject { Paypal::Exception::HttpError.new(400, 'BadRequest', 'You are bad man!') } describe '#code' do subject { super().code } it { is_expected.to eq(400) } end describe '#message' do subject { super().message } it { is_expected.to eq('BadRequest') } end describe '#body' do subject { super().body } it { is_expected.to eq('You are bad man!') } end end
Version data entries
7 entries across 7 versions & 1 rubygems