Sha256: 826ac2fc6510c657bdddbbe6e283d4b907ee04d8b324d207d533932f7d62f5fb
Contents?: true
Size: 299 Bytes
Versions: 5
Compression:
Stored size: 299 Bytes
Contents
describe Plaid::PlaidError do describe "#new" do it "allows code, message and resolution" do error = Plaid::PlaidError.new 1, "testing", "fix it" expect(error.code).to eq(1) expect(error.message).to eq("testing") expect(error.resolve).to eq("fix it") end end end
Version data entries
5 entries across 5 versions & 1 rubygems
Version | Path |
---|---|
plaid-1.7.1 | spec/plaid/error_spec.rb |
plaid-1.7.0 | spec/plaid/error_spec.rb |
plaid-1.6.2 | spec/plaid_error_spec.rb |
plaid-1.6.1 | spec/plaid_error_spec.rb |
plaid-1.6.0 | spec/plaid_error_spec.rb |