Sha256: 06122ad70ea7da20e23f1757952f7c508f55f722222cdb870800da32b7ffccff
Contents?: true
Size: 526 Bytes
Versions: 3
Compression:
Stored size: 526 Bytes
Contents
Given /^that the credit card "([^"]*)" is invalid$/ do |number| FakeBraintree.failures[number] = { "message" => "Credit card number is invalid.", "errors" => { "customer" => { "errors" => [], "credit-card" => { "errors" => [{ "message" => "Credit card number is invalid.", "code" => 81715, "attribute" => :number }] }}}} end Given /^that the credit card "([^"]*)" should not be honored$/ do |number| FakeBraintree.failures[number] = { "message" => "Do Not Honor", "code" => "2000", "status" => "processor_declined" } end
Version data entries
3 entries across 3 versions & 1 rubygems