spec/unit/braintree/transaction_spec.rb in braintree-4.18.0 vs spec/unit/braintree/transaction_spec.rb in braintree-4.19.0
- old
+ new
@@ -198,12 +198,12 @@
:liability_shift_possible => true,
:status => "authenticate_successful",
},
)
- expect(transaction.three_d_secure_info.enrolled).to eq("Y")
expect(transaction.three_d_secure_info.status).to eq("authenticate_successful")
+ expect(transaction.three_d_secure_info.enrolled).to eq("Y")
expect(transaction.three_d_secure_info.liability_shifted).to eq(true)
expect(transaction.three_d_secure_info.liability_shift_possible).to eq(true)
end
it "sets up history attributes in status_history" do
@@ -256,10 +256,10 @@
expect(transaction.retry_ids[0]).to eq("retry_id_1")
expect(transaction.retried_transaction_id).to eq("original_retried_tranction_id")
end
it "handles receiving custom as an empty string" do
- transaction = Braintree::Transaction._new(
+ Braintree::Transaction._new(
:gateway,
:custom => "\n ",
)
end