spec/integration/braintree/test/transaction_amounts_spec.rb in braintree-1.2.0 vs spec/integration/braintree/test/transaction_amounts_spec.rb in braintree-1.2.1

- old
+ new

@@ -8,11 +8,11 @@ :credit_card => { :number => Braintree::Test::CreditCardNumbers::Visa, :expiration_date => "12/2012" } ) - transaction.status.should == "authorized" + transaction.status.should == Braintree::Transaction::Status::Authorized end end describe "Decline" do it "creates a transaction with status processor_declined" do @@ -21,9 +21,9 @@ :credit_card => { :number => Braintree::Test::CreditCardNumbers::Visa, :expiration_date => "12/2012" } ) - transaction.status.should == "processor_declined" + transaction.status.should == Braintree::Transaction::Status::ProcessorDeclined end end end