summaryrefslogtreecommitdiff
path: root/help/test/functional
diff options
context:
space:
mode:
authorAzul <azul@leap.se>2012-12-03 08:55:49 +0100
committerAzul <azul@leap.se>2012-12-03 08:55:49 +0100
commit0b23df922336289b6f8062653b4d3e852ed927ec (patch)
treed0bc74c55ffa8b0ee6509df1798756585402cc4b /help/test/functional
parent277b9f98bfbe2ef0217dfd17c8d9d6597369b903 (diff)
make tests pass on an empty db
Diffstat (limited to 'help/test/functional')
-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 6bdb6c7..b9e03ac 100644
--- a/help/test/functional/tickets_controller_test.rb
+++ b/help/test/functional/tickets_controller_test.rb
@@ -35,7 +35,7 @@ class TicketsControllerTest < ActionController::TestCase
params = {:title => "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