tasks/api_test.rb
Method run_transaction_tests
has 28 lines of code (exceeds 25 allowed). Consider refactoring. Open
Open
def run_transaction_tests(customer)
puts "Creating 2 transactions with customer=#{customer.id}"
transaction = Paid::Transaction.create({
:amount => 100,
:description => 'a description',