Sha256: a8d224fc775ce196f0b7f500ffc8af14c55a648c318914af049f5aca95fcafec
Contents?: true
Size: 485 Bytes
Versions: 30
Compression:
Stored size: 485 Bytes
Contents
package_require('ree_errors/payment_required_error') RSpec.describe ReeErrors::PaymentRequiredError do link :payment_required_error, from: :ree_errors it { klass = payment_required_error(:code) error = klass.new('message') expect(klass).to be_a(Class) expect(error).to be_a(ReeErrors::Error) expect(error.message).to eq('message') expect(error.code).to eq(:code) expect(error.type).to eq(:payment_required) expect(error.locale).to eq(nil) } end
Version data entries
30 entries across 30 versions & 1 rubygems