test/unit/braintree_rails/address_test.rb in braintree-rails-0.2.0 vs test/unit/braintree_rails/address_test.rb in braintree-rails-0.3.0

- old
+ new

@@ -9,10 +9,10 @@ it 'should wrap a Braintree::Address' do braintree_address = Braintree::Customer.find('customer_id').addresses.first address = BraintreeRails::Address.new(braintree_address) address.persisted?.must_equal true - BraintreeRails::Address::Attributes.each do |attribute| + BraintreeRails::Address.attributes.each do |attribute| address.send(attribute).must_equal braintree_address.send(attribute) end end it 'should extract values from hash' do \ No newline at end of file