From 0b23df922336289b6f8062653b4d3e852ed927ec Mon Sep 17 00:00:00 2001 From: Azul Date: Mon, 3 Dec 2012 08:55:49 +0100 Subject: make tests pass on an empty db --- help/test/functional/tickets_controller_test.rb | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'help/test/functional') 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 -- cgit v1.2.3