summaryrefslogtreecommitdiff
path: root/billing/test/functional/customer_controller_test.rb
diff options
context:
space:
mode:
Diffstat (limited to 'billing/test/functional/customer_controller_test.rb')
-rw-r--r--billing/test/functional/customer_controller_test.rb2
1 files changed, 1 insertions, 1 deletions
diff --git a/billing/test/functional/customer_controller_test.rb b/billing/test/functional/customer_controller_test.rb
index 9bf2b5e..d7f221e 100644
--- a/billing/test/functional/customer_controller_test.rb
+++ b/billing/test/functional/customer_controller_test.rb
@@ -23,7 +23,7 @@ class CustomerControllerTest < ActionController::TestCase
test "edit uses params[:id]" do
customer = FactoryGirl.create :customer_with_payment_info
login customer.user
- get :edit, id: customer.id
+ get :edit, id: customer.user.id
assert_response :success
assert assigns(:tr_data)