Fixes some parameters in functional tests.

git-svn-id: svn+ssh://rubyforge.org/var/svn/redmine/trunk@3701 e93f8b46-1217-0410-a6f0-8f06a7374b81
This commit is contained in:
Jean-Philippe Lang
2010-04-30 10:06:51 +00:00
parent b6cd076441
commit 3db77a86a9
2 changed files with 2 additions and 2 deletions

View File

@@ -70,7 +70,7 @@ class IssuesControllerTransactionTest < ActionController::TestCase
},
:notes => '',
:attachments => {'1' => {'file' => uploaded_test_file('testfile.txt', 'text/plain')}},
:time_entry => { :hours => '2.5', :comments => '', :activity_id => TimeEntryActivity.first }
:time_entry => { :hours => '2.5', :comments => '', :activity_id => TimeEntryActivity.first.id }
end
end
end