diff options
author | jessib <jessib@leap.se> | 2012-12-07 10:31:12 -0800 |
---|---|---|
committer | jessib <jessib@leap.se> | 2012-12-07 10:31:12 -0800 |
commit | e1a004e2b24c2c235452469abfefa033e24435b2 (patch) | |
tree | a4b1c89a5aa4d5ccb3c17521499c999dedd5842d /help/test/functional | |
parent | 4793c2b770fcb018303b7ab226b75cc218364327 (diff) | |
parent | 8282b83c798ba4e5c1e26ec8243b82669b3ee6d4 (diff) |
Merge branch 'master' into help_develop
Conflicts:
app/views/layouts/application.html.haml
help/app/controllers/tickets_controller.rb
help/test/functional/tickets_controller_test.rb
users/test/support/stub_record_helper.rb
Diffstat (limited to 'help/test/functional')
-rw-r--r-- | help/test/functional/tickets_controller_test.rb | 3 |
1 files changed, 2 insertions, 1 deletions
diff --git a/help/test/functional/tickets_controller_test.rb b/help/test/functional/tickets_controller_test.rb index 611cf86..dab058e 100644 --- a/help/test/functional/tickets_controller_test.rb +++ b/help/test/functional/tickets_controller_test.rb @@ -70,7 +70,8 @@ class TicketsControllerTest < ActionController::TestCase params = {:title => "auth ticket test title", :comments_attributes => {"0" => {"body" =>"body of test ticket"}}} - login User.last + login :email => "test@email.net" + assert_difference('Ticket.count') do post :create, :ticket => params end |