@@ -108,6 +108,15 class Redmine::ApiTest::ApiRoutingTest < Redmine::ApiTest::Routing | |||||
108 | should_route 'GET /roles/2' => 'roles#show', :id => '2' |
|
108 | should_route 'GET /roles/2' => 'roles#show', :id => '2' | |
109 | end |
|
109 | end | |
110 |
|
110 | |||
|
111 | def test_time_entries | |||
|
112 | should_route 'GET /time_entries' => 'timelog#index' | |||
|
113 | should_route 'POST /time_entries' => 'timelog#create' | |||
|
114 | ||||
|
115 | should_route 'GET /time_entries/1' => 'timelog#show', :id => '1' | |||
|
116 | should_route 'PUT /time_entries/1' => 'timelog#update', :id => '1' | |||
|
117 | should_route 'DELETE /time_entries/1' => 'timelog#destroy', :id => '1' | |||
|
118 | end | |||
|
119 | ||||
111 | def test_trackers |
|
120 | def test_trackers | |
112 | should_route 'GET /trackers' => 'trackers#index' |
|
121 | should_route 'GET /trackers' => 'trackers#index' | |
113 | end |
|
122 | end |
General Comments 0
You need to be logged in to leave comments.
Login now