Toshi MARUYAMA
0b4aed008c
test: replace "should_route" of "activities" to "assert_routing" at integration/routing_test.rb
...
shoulda 2.11.3 does not support Rails2 legacy route on Rails 3.0.11.
<pre>
Error:
test: wikis (plural, admin setup) should route POST /projects/ladida/wiki/destroy
to/from {:action=>"destroy", :id=>"ladida", :controller=>"wikis"}. (RoutingTest):
NameError: uninitialized constant Routing
</pre>
git-svn-id: svn+ssh://rubyforge.org/var/svn/redmine/trunk@8201 e93f8b46-1217-0410-a6f0-8f06a7374b81
2011-12-14 06:49:19 +00:00
Jean-Philippe Lang
ed5f487cf5
Fixed broken issue form update when changing tracker.
...
git-svn-id: svn+ssh://rubyforge.org/var/svn/redmine/trunk@8195 e93f8b46-1217-0410-a6f0-8f06a7374b81
2011-12-12 20:43:51 +00:00
Jean-Philippe Lang
f9b6e57d24
Fixed error on project creation due to unrecognized route.
...
git-svn-id: svn+ssh://rubyforge.org/var/svn/redmine/trunk@8192 e93f8b46-1217-0410-a6f0-8f06a7374b81
2011-12-12 18:05:13 +00:00
Jean-Philippe Lang
0471de41ff
Resourcified enumerations.
...
git-svn-id: svn+ssh://rubyforge.org/var/svn/redmine/trunk@8189 e93f8b46-1217-0410-a6f0-8f06a7374b81
2011-12-11 10:26:12 +00:00
Jean-Philippe Lang
83deaad8e4
Fixed tests with the valid login url.
...
git-svn-id: svn+ssh://rubyforge.org/var/svn/redmine/trunk@8181 e93f8b46-1217-0410-a6f0-8f06a7374b81
2011-12-10 16:25:22 +00:00
Etienne Massip
7ba57e517b
Explicitly declare all routes and deactivate default route.
...
git-svn-id: svn+ssh://rubyforge.org/var/svn/redmine/trunk@8162 e93f8b46-1217-0410-a6f0-8f06a7374b81
2011-12-10 13:33:01 +00:00
Jean-Philippe Lang
7dc8cf9340
Changed IssuesController#destroy to DELETE only.
...
git-svn-id: svn+ssh://rubyforge.org/var/svn/redmine/trunk@8151 e93f8b46-1217-0410-a6f0-8f06a7374b81
2011-12-10 09:20:23 +00:00
Jean-Philippe Lang
ac6e404547
Moved bulk_edit/update routes into issues resources.
...
git-svn-id: svn+ssh://rubyforge.org/var/svn/redmine/trunk@8148 e93f8b46-1217-0410-a6f0-8f06a7374b81
2011-12-10 08:45:52 +00:00
Jean-Philippe Lang
3dcd71a082
REST urls for user memberships.
...
git-svn-id: svn+ssh://rubyforge.org/var/svn/redmine/trunk@8146 e93f8b46-1217-0410-a6f0-8f06a7374b81
2011-12-10 08:37:48 +00:00
Jean-Philippe Lang
532a76f78c
Resourcified roles.
...
git-svn-id: svn+ssh://rubyforge.org/var/svn/redmine/trunk@8145 e93f8b46-1217-0410-a6f0-8f06a7374b81
2011-12-09 23:29:58 +00:00
Jean-Philippe Lang
b127f9157d
Resourcified custom fields.
...
git-svn-id: svn+ssh://rubyforge.org/var/svn/redmine/trunk@8144 e93f8b46-1217-0410-a6f0-8f06a7374b81
2011-12-09 22:58:30 +00:00
Jean-Philippe Lang
69a2431dd0
Dropped TimeEntryReportsController.
...
git-svn-id: svn+ssh://rubyforge.org/var/svn/redmine/trunk@8027 e93f8b46-1217-0410-a6f0-8f06a7374b81
2011-12-02 19:33:05 +00:00
Jean-Philippe Lang
2967023a0e
Resourcified boards.
...
git-svn-id: svn+ssh://rubyforge.org/var/svn/redmine/trunk@8020 e93f8b46-1217-0410-a6f0-8f06a7374b81
2011-12-01 21:14:09 +00:00
Jean-Philippe Lang
1cb7de5b5a
Routes cleanup.
...
git-svn-id: svn+ssh://rubyforge.org/var/svn/redmine/trunk@8019 e93f8b46-1217-0410-a6f0-8f06a7374b81
2011-12-01 19:08:49 +00:00
Jean-Philippe Lang
526736dedc
Removed obsolete routes.
...
git-svn-id: svn+ssh://rubyforge.org/var/svn/redmine/trunk@8017 e93f8b46-1217-0410-a6f0-8f06a7374b81
2011-12-01 18:02:21 +00:00
Jean-Philippe Lang
be3ff78a29
Additional assertion for documents routing tests.
...
git-svn-id: svn+ssh://rubyforge.org/var/svn/redmine/trunk@8012 e93f8b46-1217-0410-a6f0-8f06a7374b81
2011-11-30 23:15:52 +00:00
Jean-Philippe Lang
96bccd4666
Updated documents routing tests.
...
git-svn-id: svn+ssh://rubyforge.org/var/svn/redmine/trunk@8011 e93f8b46-1217-0410-a6f0-8f06a7374b81
2011-11-30 23:12:43 +00:00
Jean-Philippe Lang
f680e7f8ac
Adds routes for group users.
...
git-svn-id: svn+ssh://rubyforge.org/var/svn/redmine/trunk@7946 e93f8b46-1217-0410-a6f0-8f06a7374b81
2011-11-27 10:47:36 +00:00
Toshi MARUYAMA
be29227c12
reset Attachment.storage_path at the end of attachment tests
...
Attachment files are deleted when database data were deleted.
So, other tests fail.
git-svn-id: svn+ssh://rubyforge.org/var/svn/redmine/trunk@7911 e93f8b46-1217-0410-a6f0-8f06a7374b81
2011-11-24 08:10:41 +00:00
Jean-Philippe Lang
34c73c7573
REST API for issue categories ( #9553 ).
...
git-svn-id: svn+ssh://rubyforge.org/var/svn/redmine/trunk@7882 e93f8b46-1217-0410-a6f0-8f06a7374b81
2011-11-20 17:09:01 +00:00
Jean-Philippe Lang
30556f8cbf
Makes issue categories available in project REST API ( #9553 ).
...
git-svn-id: svn+ssh://rubyforge.org/var/svn/redmine/trunk@7880 e93f8b46-1217-0410-a6f0-8f06a7374b81
2011-11-20 14:55:44 +00:00
Jean-Philippe Lang
248b725875
Adds API response to /issue_statuses to get the list of all available statuses ( #7180 ).
...
git-svn-id: svn+ssh://rubyforge.org/var/svn/redmine/trunk@7878 e93f8b46-1217-0410-a6f0-8f06a7374b81
2011-11-20 14:25:58 +00:00
Jean-Philippe Lang
053adaef52
Adds API response to /trackers to get the list of all available trackers ( #7181 ).
...
git-svn-id: svn+ssh://rubyforge.org/var/svn/redmine/trunk@7877 e93f8b46-1217-0410-a6f0-8f06a7374b81
2011-11-20 14:17:43 +00:00
Jean-Philippe Lang
1341dd564b
Prevent projects tests from deleting fixture files.
...
git-svn-id: svn+ssh://rubyforge.org/var/svn/redmine/trunk@7852 e93f8b46-1217-0410-a6f0-8f06a7374b81
2011-11-19 16:28:06 +00:00
Etienne Massip
ad9e486077
Make queries resources fully conform to common behavior (removed additonal routes) ( #9108 ).
...
git-svn-id: svn+ssh://rubyforge.org/var/svn/redmine/trunk@7657 e93f8b46-1217-0410-a6f0-8f06a7374b81
2011-10-26 18:00:56 +00:00
Etienne Massip
8f96f0c40d
Refactor : convert queries to REST resources (also fixes #9108 ).
...
git-svn-id: svn+ssh://rubyforge.org/var/svn/redmine/trunk@7649 e93f8b46-1217-0410-a6f0-8f06a7374b81
2011-10-24 20:19:26 +00:00
Etienne Massip
a84f877099
Added 2 tests about passing custom field filter to /issues.xml
...
git-svn-id: svn+ssh://rubyforge.org/var/svn/redmine/trunk@7581 e93f8b46-1217-0410-a6f0-8f06a7374b81
2011-10-05 22:03:19 +00:00
Toshi MARUYAMA
cf8135e451
Rails3: replace "all" fixtures at test/integration/lib/redmine/menu_manager_test.rb
...
Following error raises.
Fixture::FormatError: Bad data for Configuration::Empty fixture named default (nil)
git-svn-id: svn+ssh://rubyforge.org/var/svn/redmine/trunk@7519 e93f8b46-1217-0410-a6f0-8f06a7374b81
2011-09-25 06:11:35 +00:00
Toshi MARUYAMA
233bdd7779
Rails3: replace "all" fixtures at test/integration/api_test/token_authentication_test.rb
...
Following error raises.
Fixture::FormatError: Bad data for Configuration::Empty fixture named default (nil)
git-svn-id: svn+ssh://rubyforge.org/var/svn/redmine/trunk@7518 e93f8b46-1217-0410-a6f0-8f06a7374b81
2011-09-25 04:58:07 +00:00
Toshi MARUYAMA
c9bd3394d0
Rails3: replace "all" fixtures at test/integration/api_test/http_basic_login_with_api_token_test.rb
...
Following error raises.
Fixture::FormatError: Bad data for Configuration::Empty fixture named default (nil)
git-svn-id: svn+ssh://rubyforge.org/var/svn/redmine/trunk@7517 e93f8b46-1217-0410-a6f0-8f06a7374b81
2011-09-25 04:57:35 +00:00
Toshi MARUYAMA
250d4db29d
Rails3: replace "all" fixtures at test/integration/api_test/http_basic_login_test.rb
...
Following error raises.
Fixture::FormatError: Bad data for Configuration::Empty fixture named default (nil)
git-svn-id: svn+ssh://rubyforge.org/var/svn/redmine/trunk@7516 e93f8b46-1217-0410-a6f0-8f06a7374b81
2011-09-25 04:56:55 +00:00
Toshi MARUYAMA
fa11b8babe
Rails3: replace "all" fixtures at test/integration/api_test/disabled_rest_api_test.rb
...
Following error raises.
Fixture::FormatError: Bad data for Configuration::Empty fixture named default (nil)
git-svn-id: svn+ssh://rubyforge.org/var/svn/redmine/trunk@7515 e93f8b46-1217-0410-a6f0-8f06a7374b81
2011-09-25 04:56:27 +00:00
Toshi MARUYAMA
e92f202b50
remove fixtures from test/integration/lib/redmine/themes_test.rb
...
This test does not need fixtures.
git-svn-id: svn+ssh://rubyforge.org/var/svn/redmine/trunk@7510 e93f8b46-1217-0410-a6f0-8f06a7374b81
2011-09-25 00:17:18 +00:00
Toshi MARUYAMA
eff37ebd12
Rails3: replace "all" fixtures at test/integration/api_test/queries_test.rb
...
Following error raises.
Fixture::FormatError: Bad data for Configuration::Empty fixture named default (nil)
git-svn-id: svn+ssh://rubyforge.org/var/svn/redmine/trunk@7509 e93f8b46-1217-0410-a6f0-8f06a7374b81
2011-09-25 00:16:49 +00:00
Toshi MARUYAMA
2fef102a99
Rails3: replace "all" fixtures at test/integration/api_test/versions_test.rb
...
Following error raises.
Fixture::FormatError: Bad data for Configuration::Empty fixture named default (nil)
git-svn-id: svn+ssh://rubyforge.org/var/svn/redmine/trunk@7508 e93f8b46-1217-0410-a6f0-8f06a7374b81
2011-09-25 00:16:11 +00:00
Toshi MARUYAMA
a66b509005
Rails3: replace "all" fixtures at test/integration/api_test/news_test.rb
...
Following error raises.
Fixture::FormatError: Bad data for Configuration::Empty fixture named default (nil)
git-svn-id: svn+ssh://rubyforge.org/var/svn/redmine/trunk@7507 e93f8b46-1217-0410-a6f0-8f06a7374b81
2011-09-24 23:58:43 +00:00
Toshi MARUYAMA
45aaef4556
Rails3: replace "all" fixtures at test/integration/api_test/attachments_test.rb
...
Following error raises.
Fixture::FormatError: Bad data for Configuration::Empty fixture named default (nil)
git-svn-id: svn+ssh://rubyforge.org/var/svn/redmine/trunk@7506 e93f8b46-1217-0410-a6f0-8f06a7374b81
2011-09-24 23:58:17 +00:00
Toshi MARUYAMA
3f85c47003
Rails3: replace "all" fixtures at test/integration/api_test/issue_relations_test.rb
...
Following error raises.
Fixture::FormatError: Bad data for Configuration::Empty fixture named default (nil)
git-svn-id: svn+ssh://rubyforge.org/var/svn/redmine/trunk@7504 e93f8b46-1217-0410-a6f0-8f06a7374b81
2011-09-24 23:57:01 +00:00
Toshi MARUYAMA
ff90cae5d3
Rails3: replace "all" fixtures at test/integration/api_test/time_entries_test.rb
...
Following error raises.
Fixture::FormatError: Bad data for Configuration::Empty fixture named default (nil)
git-svn-id: svn+ssh://rubyforge.org/var/svn/redmine/trunk@7503 e93f8b46-1217-0410-a6f0-8f06a7374b81
2011-09-24 23:56:16 +00:00
Toshi MARUYAMA
7199985f5b
Rails3: replace "all" fixtures at test/integration/layout_test.rb
...
Following error raises.
Fixture::FormatError: Bad data for Configuration::Empty fixture named default (nil)
git-svn-id: svn+ssh://rubyforge.org/var/svn/redmine/trunk@7496 e93f8b46-1217-0410-a6f0-8f06a7374b81
2011-09-24 11:09:34 +00:00
Toshi MARUYAMA
a16d2c2b2d
code layout clean up of "Add a user as an anonymous user should fail" at test/integration/admin_test.rb
...
git-svn-id: svn+ssh://rubyforge.org/var/svn/redmine/trunk@7495 e93f8b46-1217-0410-a6f0-8f06a7374b81
2011-09-24 10:11:52 +00:00
Toshi MARUYAMA
dd431af597
code layout clean up of test_add_user at test/integration/admin_test.rb
...
git-svn-id: svn+ssh://rubyforge.org/var/svn/redmine/trunk@7494 e93f8b46-1217-0410-a6f0-8f06a7374b81
2011-09-24 10:11:26 +00:00
Toshi MARUYAMA
bed3e724da
Rails3: replace "all" fixtures at test/integration/admin_test.rb
...
Following error raises.
Fixture::FormatError: Bad data for Configuration::Empty fixture named default (nil)
git-svn-id: svn+ssh://rubyforge.org/var/svn/redmine/trunk@7493 e93f8b46-1217-0410-a6f0-8f06a7374b81
2011-09-24 10:10:59 +00:00
Toshi MARUYAMA
dad3ede1f2
Rails3: replace "all" fixtures at test/integration/application_test.rb
...
Following error raises.
Fixture::FormatError: Bad data for Configuration::Empty fixture named default (nil)
git-svn-id: svn+ssh://rubyforge.org/var/svn/redmine/trunk@7491 e93f8b46-1217-0410-a6f0-8f06a7374b81
2011-09-24 10:10:11 +00:00
Toshi MARUYAMA
d51cc908fe
remove trailing white-spaces from test/integration/api_test/issues_test.rb.
...
git-svn-id: svn+ssh://rubyforge.org/var/svn/redmine/trunk@6945 e93f8b46-1217-0410-a6f0-8f06a7374b81
2011-09-01 00:49:30 +00:00
Toshi MARUYAMA
51e2d89608
remove trailing white-spaces from test/integration/api_test/queries_test.rb.
...
git-svn-id: svn+ssh://rubyforge.org/var/svn/redmine/trunk@6935 e93f8b46-1217-0410-a6f0-8f06a7374b81
2011-08-31 23:16:38 +00:00
Toshi MARUYAMA
ca7804bcb4
remove trailing white-spaces from test/integration/api_test/time_entries_test.rb.
...
git-svn-id: svn+ssh://rubyforge.org/var/svn/redmine/trunk@6934 e93f8b46-1217-0410-a6f0-8f06a7374b81
2011-08-31 23:16:04 +00:00
Toshi MARUYAMA
9e69cab15d
remove trailing white-spaces from test/integration/api_test/users_test.rb.
...
git-svn-id: svn+ssh://rubyforge.org/var/svn/redmine/trunk@6933 e93f8b46-1217-0410-a6f0-8f06a7374b81
2011-08-31 23:15:39 +00:00
Toshi MARUYAMA
e103d11178
remove trailing white-spaces from test/integration/api_test/issue_relations_test.rb.
...
git-svn-id: svn+ssh://rubyforge.org/var/svn/redmine/trunk@6931 e93f8b46-1217-0410-a6f0-8f06a7374b81
2011-08-31 23:01:28 +00:00
Toshi MARUYAMA
4c7ae6da39
remove trailing white-spaces from test/integration/api_test/versions_test.rb.
...
git-svn-id: svn+ssh://rubyforge.org/var/svn/redmine/trunk@6690 e93f8b46-1217-0410-a6f0-8f06a7374b81
2011-08-28 06:48:10 +00:00