spec/integration/braintree/test/transaction_amounts_spec.rb in braintree-4.14.0 vs spec/integration/braintree/test/transaction_amounts_spec.rb in braintree-4.15.0

- old
+ new

@@ -8,11 +8,11 @@ :credit_card => { :number => Braintree::Test::CreditCardNumbers::Visa, :expiration_date => "12/2012" }, ) - transaction.status.should == Braintree::Transaction::Status::Authorized + expect(transaction.status).to eq(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" }, ) - result.transaction.status.should == Braintree::Transaction::Status::ProcessorDeclined + expect(result.transaction.status).to eq(Braintree::Transaction::Status::ProcessorDeclined) end end end