test/test_helper.rb in pagarme-1.7 vs test/test_helper.rb in pagarme-1.8

- old
+ new

@@ -95,11 +95,11 @@ :email => "henrique@pagar.me", :address => { :street => 'Av. Brigadeiro Faria Lima', :neighborhood => 'Itaim bibi', :zipcode => '01452000', - :street_number => 2941, + :street_number => 1000, } , :phone => { :ddd => 12, :number => '981444444', } , @@ -110,17 +110,13 @@ end def test_customer_response(customer) assert customer.id - assert customer.addresses.class == Array - assert customer.phones.class == Array assert customer.document_type == 'cpf' assert customer.name == 'Jose da Silva' assert customer.born_at assert customer.id - assert customer.addresses[0].class == PagarMe::Address - assert customer.phones[0].class == PagarMe::Phone end def test_subscription_transaction_response(transaction) assert transaction.id assert !transaction.refuse_reason