diff options
author | azul <azul@riseup.net> | 2014-05-14 08:41:13 +0200 |
---|---|---|
committer | azul <azul@riseup.net> | 2014-05-14 08:41:13 +0200 |
commit | c85028fba2a25f22b375b8714c2e1999c35f8e82 (patch) | |
tree | e9c6a5c25e0bb7acaddae1f34a9fd0de886bbeb8 /engines/support/test/functional | |
parent | 4843db127a5d5d038f227d9ffe5f0b83d95fd9f6 (diff) | |
parent | 3278e474a32ef4926b1dab0d97ca4df1c59aa2a0 (diff) |
Merge pull request #157 from azul/bugfix/5664-stop-email-autofill
Bugfix/5664 stop email autofill
Diffstat (limited to 'engines/support/test/functional')
-rw-r--r-- | engines/support/test/functional/tickets_controller_test.rb | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/engines/support/test/functional/tickets_controller_test.rb b/engines/support/test/functional/tickets_controller_test.rb index d746b59..fc4a6f8 100644 --- a/engines/support/test/functional/tickets_controller_test.rb +++ b/engines/support/test/functional/tickets_controller_test.rb @@ -85,7 +85,7 @@ class TicketsControllerTest < ActionController::TestCase test "should create authenticated ticket" do - params = {:subject => "auth ticket test subject", :comments_attributes => {"0" => {"body" =>"body of test ticket"}}} + params = {:subject => "auth ticket test subject",:email => "", :comments_attributes => {"0" => {"body" =>"body of test ticket"}}} login @@ -97,7 +97,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_address + assert_equal "", assigns(:ticket).email assert_equal 1, assigns(:ticket).comments.count assert_not_nil assigns(:ticket).comments.first.posted_by |