Dropped TimeEntryReportsController.
git-svn-id: svn+ssh://rubyforge.org/var/svn/redmine/trunk@8027 e93f8b46-1217-0410-a6f0-8f06a7374b81
This commit is contained in:
@@ -2,6 +2,8 @@
|
||||
require File.expand_path('../../test_helper', __FILE__)
|
||||
|
||||
class TimeEntryReportsControllerTest < ActionController::TestCase
|
||||
tests TimelogController
|
||||
|
||||
fixtures :projects, :enabled_modules, :roles, :members, :member_roles,
|
||||
:issues, :time_entries, :users, :trackers, :enumerations,
|
||||
:issue_statuses, :custom_fields, :custom_values
|
||||
|
||||
@@ -329,12 +329,10 @@ class RoutingTest < ActionController::IntegrationTest
|
||||
should_route :put, "/projects/ecookbook/issues/234/time_entries/22", :controller => 'timelog', :action => 'update', :id => '22', :issue_id => '234', :project_id => 'ecookbook'
|
||||
|
||||
should_route :delete, "/projects/ecookbook/issues/234/time_entries/55", :controller => 'timelog', :action => 'destroy', :id => '55', :issue_id => '234', :project_id => 'ecookbook'
|
||||
end
|
||||
|
||||
context "time_entry_reports" do
|
||||
should_route :get, "/time_entries/report", :controller => 'time_entry_reports', :action => 'report'
|
||||
should_route :get, "/projects/567/time_entries/report", :controller => 'time_entry_reports', :action => 'report', :project_id => '567'
|
||||
should_route :get, "/projects/567/time_entries/report.csv", :controller => 'time_entry_reports', :action => 'report', :project_id => '567', :format => 'csv'
|
||||
should_route :get, "/time_entries/report", :controller => 'timelog', :action => 'report'
|
||||
should_route :get, "/projects/567/time_entries/report", :controller => 'timelog', :action => 'report', :project_id => '567'
|
||||
should_route :get, "/projects/567/time_entries/report.csv", :controller => 'timelog', :action => 'report', :project_id => '567', :format => 'csv'
|
||||
end
|
||||
|
||||
context "users" do
|
||||
|
||||
Reference in New Issue
Block a user