summaryrefslogtreecommitdiff
path: root/help/test
diff options
context:
space:
mode:
authorAzul <azul@leap.se>2013-02-06 14:29:44 +0100
committerAzul <azul@leap.se>2013-02-06 14:29:44 +0100
commit0362663decaa1c861b183ec3773f69952398a976 (patch)
treef5cecb371612a4ba579578d9f95b8b961fe47e12 /help/test
parent37d3a5b4fd06ff75d21740cf0f70d0eb0c43e586 (diff)
parent8fbee620476db018ca096f1a448dbfde9f9eb95a (diff)
Merge remote-tracking branch 'leap/master'
Diffstat (limited to 'help/test')
-rw-r--r--help/test/functional/tickets_controller_test.rb2
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