Sha256: ae2f1189cfc94756e150c75fc25b3baef3d162f178c6def67e405ce729c8f674

Contents?: true

Size: 311 Bytes

Versions: 4

Compression:

Stored size: 311 Bytes

Contents

describe OldPlaid::OldPlaidError do
  describe "#new" do
    it "allows code, message and resolution" do
      error = OldPlaid::OldPlaidError.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

4 entries across 4 versions & 1 rubygems

Version Path
old_plaid-2.8.2 spec/plaid/error_spec.rb
old_plaid-1.7.1 spec/plaid/error_spec.rb
old_plaid-2.7.2 spec/plaid/error_spec.rb
old_plaid-2.7.1 spec/plaid/error_spec.rb