diff options
author | jessib <jessib@leap.se> | 2013-02-05 12:46:01 -0800 |
---|---|---|
committer | jessib <jessib@leap.se> | 2013-02-05 12:46:01 -0800 |
commit | 215e046768cf10d6f1718cf5a46823ac91b013db (patch) | |
tree | a48dbacfbdc776814bc634009609bac0864a47d8 /help/test | |
parent | 7636f238a0acb03a470ddf36b720a45c7f50c659 (diff) |
Tweaks because user attribute is now email_address, not email
Diffstat (limited to 'help/test')
-rw-r--r-- | help/test/functional/tickets_controller_test.rb | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/help/test/functional/tickets_controller_test.rb b/help/test/functional/tickets_controller_test.rb index 0c462a9..f8627d8 100644 --- a/help/test/functional/tickets_controller_test.rb +++ b/help/test/functional/tickets_controller_test.rb @@ -89,7 +89,7 @@ class TicketsControllerTest < ActionController::TestCase assert_not_nil assigns(:ticket).created_by assert_equal assigns(:ticket).created_by, @current_user.id - assert_equal assigns(:ticket).email, @current_user.email + assert_equal assigns(:ticket).email, @current_user.email_address.email assert_equal 1, assigns(:ticket).comments.count assert_not_nil assigns(:ticket).comments.first.posted_by |