summaryrefslogtreecommitdiffstats
path: root/test/functional/issues_controller_transaction_test.rb
diff options
context:
space:
mode:
authorJean-Philippe Lang <jp_lang@yahoo.fr>2010-04-30 10:06:51 +0000
committerJean-Philippe Lang <jp_lang@yahoo.fr>2010-04-30 10:06:51 +0000
commit3db77a86a96b10333fcccf85b0c53ce57d4f4de8 (patch)
tree75edf539cef5e9dc5d3a330c8d6f4de40845542d /test/functional/issues_controller_transaction_test.rb
parentb6cd076441cd0f273ac23d7a452e29189275f7ff (diff)
downloadredmine-3db77a86a96b10333fcccf85b0c53ce57d4f4de8.tar.gz
redmine-3db77a86a96b10333fcccf85b0c53ce57d4f4de8.zip
Fixes some parameters in functional tests.
git-svn-id: svn+ssh://rubyforge.org/var/svn/redmine/trunk@3701 e93f8b46-1217-0410-a6f0-8f06a7374b81
Diffstat (limited to 'test/functional/issues_controller_transaction_test.rb')
-rw-r--r--test/functional/issues_controller_transaction_test.rb2
1 files changed, 1 insertions, 1 deletions
diff --git a/test/functional/issues_controller_transaction_test.rb b/test/functional/issues_controller_transaction_test.rb
index bac466170..dbd085bf5 100644
--- a/test/functional/issues_controller_transaction_test.rb
+++ b/test/functional/issues_controller_transaction_test.rb
@@ -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