summaryrefslogtreecommitdiffstats
path: root/test/functional/time_entry_reports_controller_test.rb
diff options
context:
space:
mode:
Diffstat (limited to 'test/functional/time_entry_reports_controller_test.rb')
-rw-r--r--test/functional/time_entry_reports_controller_test.rb4
1 files changed, 2 insertions, 2 deletions
diff --git a/test/functional/time_entry_reports_controller_test.rb b/test/functional/time_entry_reports_controller_test.rb
index 56e23f935..bbc4d3c1d 100644
--- a/test/functional/time_entry_reports_controller_test.rb
+++ b/test/functional/time_entry_reports_controller_test.rb
@@ -130,13 +130,13 @@ class TimeEntryReportsControllerTest < ActionController::TestCase
end
def test_report_at_issue_level
- get :report, :project_id => 1, :issue_id => 1, :columns => 'month', :from => "2007-01-01", :to => "2007-12-31", :criteria => ["user", "activity"]
+ get :report, :issue_id => 1, :columns => 'month', :from => "2007-01-01", :to => "2007-12-31", :criteria => ["user", "activity"]
assert_response :success
assert_template 'report'
assert_not_nil assigns(:report)
assert_equal "154.25", "%.2f" % assigns(:report).total_hours
assert_tag :form,
- :attributes => {:action => "/projects/ecookbook/issues/1/time_entries/report", :id => 'query_form'}
+ :attributes => {:action => "/issues/1/time_entries/report", :id => 'query_form'}
end
def test_report_by_week_should_use_commercial_year