Sha256: a95c1aa6ff7d298e7ba52c5606d5a166d16397837887b6be8d3f09570699f902
Contents?: true
Size: 653 Bytes
Versions: 44
Compression:
Stored size: 653 Bytes
Contents
require File.expand_path(File.dirname(__FILE__) + "/../../spec_helper") describe Braintree::RiskData do describe "#initialize" do it "sets id and decision" do risk_data = Braintree::RiskData.new(:id => "123", :decision => "YOU WON $1000 DOLLARS") risk_data.id.should == "123" risk_data.decision.should == "YOU WON $1000 DOLLARS" end end describe "inspect" do it "prints the attributes" do details = Braintree::RiskData.new( :id => "123", :decision => "YOU WON $1000 DOLLARS" ) details.inspect.should == %(#<RiskData id: "123", decision: "YOU WON $1000 DOLLARS">) end end end
Version data entries
44 entries across 44 versions & 1 rubygems