From 1e4245907ca17d1d6afbeca82b25c35c970ba499 Mon Sep 17 00:00:00 2001 From: Azul Date: Tue, 2 Jul 2013 17:14:32 +0200 Subject: billing: functional test for payments controller --- billing/app/views/payments/_customer_data.html.haml | 8 ++++---- 1 file changed, 4 insertions(+), 4 deletions(-) (limited to 'billing/app/views/payments') diff --git a/billing/app/views/payments/_customer_data.html.haml b/billing/app/views/payments/_customer_data.html.haml index d46065c..71a5eaf 100644 --- a/billing/app/views/payments/_customer_data.html.haml +++ b/billing/app/views/payments/_customer_data.html.haml @@ -1,15 +1,15 @@ %h2 Customer Information %dl %dt First Name - %dd= @braintree_data.first_name + %dd= @customer.first_name %dt Last Name - %dd= @braintree_data.last_name + %dd= @customer.last_name %dt Phone - %dd= @braintree_data.phone + %dd= @customer.phone %h2 Credit Card Information %dl %dt Number %dd= @default_cc.masked_number %dt Expiration Date %dd= @default_cc.expiration_date -= link_to 'Edit Saved Data', edit_customer_path(@customer.braintree_customer_id), :class => :btn += link_to 'Edit Saved Data', edit_customer_path(@customer), :class => :btn -- cgit v1.2.3