Commit Graph

2437 Commits

Author SHA1 Message Date
Toshi MARUYAMA 6d3bbd4933 test: route: move users tests to new file
git-svn-id: svn+ssh://rubyforge.org/var/svn/redmine/trunk@8349 e93f8b46-1217-0410-a6f0-8f06a7374b81
2011-12-24 10:57:45 +00:00
Toshi MARUYAMA 213978161b test: route: move roles tests to new file
git-svn-id: svn+ssh://rubyforge.org/var/svn/redmine/trunk@8348 e93f8b46-1217-0410-a6f0-8f06a7374b81
2011-12-24 10:57:21 +00:00
Toshi MARUYAMA b19ea60b97 test: route: move auto_completes tests in test_issues_extra_actions to new file
git-svn-id: svn+ssh://rubyforge.org/var/svn/redmine/trunk@8347 e93f8b46-1217-0410-a6f0-8f06a7374b81
2011-12-24 10:13:27 +00:00
Toshi MARUYAMA 79d227d34e test: route: move activities test in projects test to integration/routing/activities_test.rb
git-svn-id: svn+ssh://rubyforge.org/var/svn/redmine/trunk@8346 e93f8b46-1217-0410-a6f0-8f06a7374b81
2011-12-24 10:12:53 +00:00
Toshi MARUYAMA bc7ed1e156 test: route: move timelogs tests to new file
git-svn-id: svn+ssh://rubyforge.org/var/svn/redmine/trunk@8343 e93f8b46-1217-0410-a6f0-8f06a7374b81
2011-12-24 04:13:38 +00:00
Toshi MARUYAMA 904ec537b2 test: route: move members test to new file
git-svn-id: svn+ssh://rubyforge.org/var/svn/redmine/trunk@8342 e93f8b46-1217-0410-a6f0-8f06a7374b81
2011-12-24 04:13:14 +00:00
Toshi MARUYAMA ed933a28da test: route: move gantts test in test_issues_extra_actions to new file
git-svn-id: svn+ssh://rubyforge.org/var/svn/redmine/trunk@8341 e93f8b46-1217-0410-a6f0-8f06a7374b81
2011-12-24 04:12:50 +00:00
Toshi MARUYAMA c7d96d1441 test: route: move repositories test to new file
git-svn-id: svn+ssh://rubyforge.org/var/svn/redmine/trunk@8340 e93f8b46-1217-0410-a6f0-8f06a7374b81
2011-12-24 04:12:25 +00:00
Toshi MARUYAMA ceaaf6d3a2 test: route: move versions test to new file
git-svn-id: svn+ssh://rubyforge.org/var/svn/redmine/trunk@8339 e93f8b46-1217-0410-a6f0-8f06a7374b81
2011-12-24 04:12:00 +00:00
Toshi MARUYAMA 1a626bcacd test: route: move files test in project to new file
git-svn-id: svn+ssh://rubyforge.org/var/svn/redmine/trunk@8338 e93f8b46-1217-0410-a6f0-8f06a7374b81
2011-12-24 04:11:32 +00:00
Toshi MARUYAMA b6d6f5e382 test: route: move reports test to new file
git-svn-id: svn+ssh://rubyforge.org/var/svn/redmine/trunk@8337 e93f8b46-1217-0410-a6f0-8f06a7374b81
2011-12-24 01:41:43 +00:00
Toshi MARUYAMA dedbff3653 test: route: move issue_relations test to new file
git-svn-id: svn+ssh://rubyforge.org/var/svn/redmine/trunk@8336 e93f8b46-1217-0410-a6f0-8f06a7374b81
2011-12-24 01:41:17 +00:00
Toshi MARUYAMA e9ec49a705 test: route: move remaining calendars test in test_issues_extra_actions to routing/calendars_test.rb
git-svn-id: svn+ssh://rubyforge.org/var/svn/redmine/trunk@8335 e93f8b46-1217-0410-a6f0-8f06a7374b81
2011-12-24 01:40:30 +00:00
Toshi MARUYAMA f37ee781fb test: route: move calendars test in test_issues_extra_actions to new file
git-svn-id: svn+ssh://rubyforge.org/var/svn/redmine/trunk@8334 e93f8b46-1217-0410-a6f0-8f06a7374b81
2011-12-24 01:05:48 +00:00
Toshi MARUYAMA dd312d294a test: route: move journals test in test_issues_extra_actions to new file
git-svn-id: svn+ssh://rubyforge.org/var/svn/redmine/trunk@8333 e93f8b46-1217-0410-a6f0-8f06a7374b81
2011-12-24 01:05:09 +00:00
Toshi MARUYAMA bb7854923d test: route: add 'my' test
git-svn-id: svn+ssh://rubyforge.org/var/svn/redmine/trunk@8332 e93f8b46-1217-0410-a6f0-8f06a7374b81
2011-12-24 01:04:26 +00:00
Toshi MARUYAMA 23bafda164 test: route: move issue_moves test in test_issues_extra_actions to new file
git-svn-id: svn+ssh://rubyforge.org/var/svn/redmine/trunk@8329 e93f8b46-1217-0410-a6f0-8f06a7374b81
2011-12-23 23:08:04 +00:00
Toshi MARUYAMA f6a9cf4326 test: route: move groups test to new file
git-svn-id: svn+ssh://rubyforge.org/var/svn/redmine/trunk@8328 e93f8b46-1217-0410-a6f0-8f06a7374b81
2011-12-23 23:07:40 +00:00
Toshi MARUYAMA fbf323bf51 test: route: move enumerations test to new file
git-svn-id: svn+ssh://rubyforge.org/var/svn/redmine/trunk@8327 e93f8b46-1217-0410-a6f0-8f06a7374b81
2011-12-23 23:07:17 +00:00
Toshi MARUYAMA c18d24434a test: route: add account test
git-svn-id: svn+ssh://rubyforge.org/var/svn/redmine/trunk@8326 e93f8b46-1217-0410-a6f0-8f06a7374b81
2011-12-23 23:06:52 +00:00
Toshi MARUYAMA 50b6ab9de2 test: route: fix duplicate "test_roles"
This is introduced by r8189 and r8230 in trunk.
So, this is not effect in 1.3-stable.

git-svn-id: svn+ssh://rubyforge.org/var/svn/redmine/trunk@8325 e93f8b46-1217-0410-a6f0-8f06a7374b81
2011-12-23 12:19:54 +00:00
Toshi MARUYAMA e5275453db test: route: move documents test to new file
git-svn-id: svn+ssh://rubyforge.org/var/svn/redmine/trunk@8324 e93f8b46-1217-0410-a6f0-8f06a7374b81
2011-12-23 11:18:12 +00:00
Toshi MARUYAMA 413d98ca43 test: route: move messages test to new file
git-svn-id: svn+ssh://rubyforge.org/var/svn/redmine/trunk@8323 e93f8b46-1217-0410-a6f0-8f06a7374b81
2011-12-23 10:56:22 +00:00
Toshi MARUYAMA 260bc487aa code layout clean up test/integration/api_test/users_test.rb
git-svn-id: svn+ssh://rubyforge.org/var/svn/redmine/trunk@8322 e93f8b46-1217-0410-a6f0-8f06a7374b81
2011-12-23 10:08:28 +00:00
Toshi MARUYAMA df2d2f3cf7 test: route: move custom_fields test to new file
git-svn-id: svn+ssh://rubyforge.org/var/svn/redmine/trunk@8321 e93f8b46-1217-0410-a6f0-8f06a7374b81
2011-12-23 10:08:05 +00:00
Toshi MARUYAMA a8186713ba test: route: move boards test to new file
git-svn-id: svn+ssh://rubyforge.org/var/svn/redmine/trunk@8320 e93f8b46-1217-0410-a6f0-8f06a7374b81
2011-12-23 10:07:39 +00:00
Toshi MARUYAMA 40eb962166 test: route: move admin test to new file
git-svn-id: svn+ssh://rubyforge.org/var/svn/redmine/trunk@8319 e93f8b46-1217-0410-a6f0-8f06a7374b81
2011-12-23 08:11:29 +00:00
Toshi MARUYAMA 4df7460ce6 test: route: move attachments test to new file
git-svn-id: svn+ssh://rubyforge.org/var/svn/redmine/trunk@8318 e93f8b46-1217-0410-a6f0-8f06a7374b81
2011-12-23 08:11:05 +00:00
Toshi MARUYAMA 3153897fde test: route: move activities test to new file
git-svn-id: svn+ssh://rubyforge.org/var/svn/redmine/trunk@8317 e93f8b46-1217-0410-a6f0-8f06a7374b81
2011-12-23 08:10:42 +00:00
Toshi MARUYAMA 3fbbd6bc50 fix filename of test/unit/lib/redmine/wiki_formatting.rb
"rake test:units" runs following command

<pre>
"rake test:units" runs '/usr/bin/ruby -I"lib:test"
  -I"/usr/lib/ruby/gems/1.8/gems/rake-0.9.0/lib"
  "/usr/lib/ruby/gems/1.8/gems/rake-0.9.0/lib/rake/rake_test_loader.rb"
  "test/unit/**/*_test.rb"'
</pre>

git-svn-id: svn+ssh://rubyforge.org/var/svn/redmine/trunk@8316 e93f8b46-1217-0410-a6f0-8f06a7374b81
2011-12-23 03:53:35 +00:00
Toshi MARUYAMA 6c7ead508f test: include ERB::Util at test/unit/lib/redmine/helpers/gantt_test.rb
On Rails 3.1, undefined method `h' error raises.

git-svn-id: svn+ssh://rubyforge.org/var/svn/redmine/trunk@8314 e93f8b46-1217-0410-a6f0-8f06a7374b81
2011-12-22 11:05:23 +00:00
Toshi MARUYAMA 4ee2193112 test: include ERB::Util at test/unit/helpers/issues_helper_test.rb
On Rails 3.1, undefined method `h' error raises.

git-svn-id: svn+ssh://rubyforge.org/var/svn/redmine/trunk@8313 e93f8b46-1217-0410-a6f0-8f06a7374b81
2011-12-22 11:04:25 +00:00
Jean-Philippe Lang 3ce595b806 Use fixtures generator.
git-svn-id: svn+ssh://rubyforge.org/var/svn/redmine/trunk@8295 e93f8b46-1217-0410-a6f0-8f06a7374b81
2011-12-18 17:00:15 +00:00
Jean-Philippe Lang aec1828fc7 Use fixtures generator.
git-svn-id: svn+ssh://rubyforge.org/var/svn/redmine/trunk@8294 e93f8b46-1217-0410-a6f0-8f06a7374b81
2011-12-18 16:48:25 +00:00
Jean-Philippe Lang 2a0257e8af Use open scope in version issues count methods.
git-svn-id: svn+ssh://rubyforge.org/var/svn/redmine/trunk@8285 e93f8b46-1217-0410-a6f0-8f06a7374b81
2011-12-18 13:05:46 +00:00
Jean-Philippe Lang 76ad136b2a #new is just fine.
git-svn-id: svn+ssh://rubyforge.org/var/svn/redmine/trunk@8284 e93f8b46-1217-0410-a6f0-8f06a7374b81
2011-12-18 12:30:00 +00:00
Jean-Philippe Lang 8a563e8f57 #new is just fine.
git-svn-id: svn+ssh://rubyforge.org/var/svn/redmine/trunk@8282 e93f8b46-1217-0410-a6f0-8f06a7374b81
2011-12-18 10:43:32 +00:00
Jean-Philippe Lang a79357bc28 Make sure setting is not changed in test.
git-svn-id: svn+ssh://rubyforge.org/var/svn/redmine/trunk@8281 e93f8b46-1217-0410-a6f0-8f06a7374b81
2011-12-18 10:41:45 +00:00
Jean-Philippe Lang b549523e4b Test cleanup.
git-svn-id: svn+ssh://rubyforge.org/var/svn/redmine/trunk@8280 e93f8b46-1217-0410-a6f0-8f06a7374b81
2011-12-18 10:14:14 +00:00
Jean-Philippe Lang 914f9b603e Code cleanup.
git-svn-id: svn+ssh://rubyforge.org/var/svn/redmine/trunk@8279 e93f8b46-1217-0410-a6f0-8f06a7374b81
2011-12-18 09:48:37 +00:00
Jean-Philippe Lang aadf6da468 Get rid of HelperTestcase.
git-svn-id: svn+ssh://rubyforge.org/var/svn/redmine/trunk@8278 e93f8b46-1217-0410-a6f0-8f06a7374b81
2011-12-18 09:40:19 +00:00
Jean-Philippe Lang eed1a5dfbd Makes tests inherit from ActionView::TestCase.
git-svn-id: svn+ssh://rubyforge.org/var/svn/redmine/trunk@8277 e93f8b46-1217-0410-a6f0-8f06a7374b81
2011-12-18 08:41:17 +00:00
Toshi MARUYAMA 2cf2f4964c test: replace "should_route" of "versions" to "assert_routing" at integration/routing_test.rb
git-svn-id: svn+ssh://rubyforge.org/var/svn/redmine/trunk@8274 e93f8b46-1217-0410-a6f0-8f06a7374b81
2011-12-18 08:13:19 +00:00
Toshi MARUYAMA 08c4b22988 test: replace "should_route" of "issue categories" to "assert_routing" at integration/routing_test.rb
git-svn-id: svn+ssh://rubyforge.org/var/svn/redmine/trunk@8273 e93f8b46-1217-0410-a6f0-8f06a7374b81
2011-12-18 08:12:40 +00:00
Jean-Philippe Lang bb0cd34f4e Additional tests for SearchController and handle my_projects scope without memberships.
git-svn-id: svn+ssh://rubyforge.org/var/svn/redmine/trunk@8266 e93f8b46-1217-0410-a6f0-8f06a7374b81
2011-12-17 18:23:53 +00:00
Jean-Philippe Lang 199eaff14e Additional tests for QueriesController.
git-svn-id: svn+ssh://rubyforge.org/var/svn/redmine/trunk@8265 e93f8b46-1217-0410-a6f0-8f06a7374b81
2011-12-17 17:54:52 +00:00
Jean-Philippe Lang 92e4708ee3 Additional tests for DocumentsController.
git-svn-id: svn+ssh://rubyforge.org/var/svn/redmine/trunk@8264 e93f8b46-1217-0410-a6f0-8f06a7374b81
2011-12-17 17:47:27 +00:00
Jean-Philippe Lang b4af45537a Additional tests for TimelogController and added missing i18n string.
git-svn-id: svn+ssh://rubyforge.org/var/svn/redmine/trunk@8263 e93f8b46-1217-0410-a6f0-8f06a7374b81
2011-12-17 15:25:15 +00:00
Jean-Philippe Lang 849463558d Additional tests for WikiController.
git-svn-id: svn+ssh://rubyforge.org/var/svn/redmine/trunk@8262 e93f8b46-1217-0410-a6f0-8f06a7374b81
2011-12-17 15:02:28 +00:00
Toshi MARUYAMA 606c5f3093 test: replace "should_route" of "news" to "assert_routing" at integration/routing_test.rb
git-svn-id: svn+ssh://rubyforge.org/var/svn/redmine/trunk@8261 e93f8b46-1217-0410-a6f0-8f06a7374b81
2011-12-17 14:49:05 +00:00
Toshi MARUYAMA 06c8bbd342 test: replace "should_route" of "queries" to "assert_routing" at integration/routing_test.rb
git-svn-id: svn+ssh://rubyforge.org/var/svn/redmine/trunk@8260 e93f8b46-1217-0410-a6f0-8f06a7374b81
2011-12-17 14:06:27 +00:00
Toshi MARUYAMA a59e857d51 test: replace "should_route" of "timelogs (scoped under project and issues)" to "assert_routing" at integration/routing_test.rb
git-svn-id: svn+ssh://rubyforge.org/var/svn/redmine/trunk@8259 e93f8b46-1217-0410-a6f0-8f06a7374b81
2011-12-17 13:12:27 +00:00
Toshi MARUYAMA 83aad1dc04 test: replace "should_route" of "issue relations" to "assert_routing" at integration/routing_test.rb
git-svn-id: svn+ssh://rubyforge.org/var/svn/redmine/trunk@8257 e93f8b46-1217-0410-a6f0-8f06a7374b81
2011-12-17 11:55:09 +00:00
Toshi MARUYAMA 15f4e56c9d test: replace "should_route" of "issues" extra actions to "assert_routing" at integration/routing_test.rb
git-svn-id: svn+ssh://rubyforge.org/var/svn/redmine/trunk@8256 e93f8b46-1217-0410-a6f0-8f06a7374b81
2011-12-17 11:54:37 +00:00
Jean-Philippe Lang dcce70095b Option to set parent automatically for new wiki pages (#3108).
git-svn-id: svn+ssh://rubyforge.org/var/svn/redmine/trunk@8255 e93f8b46-1217-0410-a6f0-8f06a7374b81
2011-12-17 11:44:04 +00:00
Jean-Philippe Lang c8066879db Moved wiki links tests together.
git-svn-id: svn+ssh://rubyforge.org/var/svn/redmine/trunk@8254 e93f8b46-1217-0410-a6f0-8f06a7374b81
2011-12-17 11:23:26 +00:00
Toshi MARUYAMA 1f90b6fc94 test: replace "should_route" of "users" to "assert_routing" at integration/routing_test.rb
git-svn-id: svn+ssh://rubyforge.org/var/svn/redmine/trunk@8252 e93f8b46-1217-0410-a6f0-8f06a7374b81
2011-12-17 09:56:00 +00:00
Toshi MARUYAMA f443c01ba5 test: replace "should_route" of "projects" to "assert_routing" at integration/routing_test.rb
git-svn-id: svn+ssh://rubyforge.org/var/svn/redmine/trunk@8250 e93f8b46-1217-0410-a6f0-8f06a7374b81
2011-12-17 09:10:17 +00:00
Jean-Philippe Lang 9b1e831fa6 Change tests to use ruby/rails assertions.
git-svn-id: svn+ssh://rubyforge.org/var/svn/redmine/trunk@8249 e93f8b46-1217-0410-a6f0-8f06a7374b81
2011-12-16 23:35:05 +00:00
Jean-Philippe Lang ad25e3807d Make sure that tests restore the attachments path to the tmp dir so that fixture files don't get deleted.
git-svn-id: svn+ssh://rubyforge.org/var/svn/redmine/trunk@8248 e93f8b46-1217-0410-a6f0-8f06a7374b81
2011-12-16 17:52:47 +00:00
Toshi MARUYAMA 14b931eb4a test: replace "should_route" of "timelogs (scoped under issues)" to "assert_routing" at integration/routing_test.rb
git-svn-id: svn+ssh://rubyforge.org/var/svn/redmine/trunk@8247 e93f8b46-1217-0410-a6f0-8f06a7374b81
2011-12-16 12:11:05 +00:00
Toshi MARUYAMA bc548368e8 test: replace "should_route" of "roles" to "assert_routing" at integration/routing_test.rb
git-svn-id: svn+ssh://rubyforge.org/var/svn/redmine/trunk@8246 e93f8b46-1217-0410-a6f0-8f06a7374b81
2011-12-16 12:10:42 +00:00
Toshi MARUYAMA 5cfa9e735a test: replace "should_route" of "repositories" to "assert_routing" at integration/routing_test.rb
git-svn-id: svn+ssh://rubyforge.org/var/svn/redmine/trunk@8245 e93f8b46-1217-0410-a6f0-8f06a7374b81
2011-12-16 09:56:46 +00:00
Toshi MARUYAMA 0ef34804e8 test: replace "should_route" of "timelogs (scoped under project)" to "assert_routing" at integration/routing_test.rb
git-svn-id: svn+ssh://rubyforge.org/var/svn/redmine/trunk@8244 e93f8b46-1217-0410-a6f0-8f06a7374b81
2011-12-16 08:10:17 +00:00
Toshi MARUYAMA bfad07cd15 test: replace "should_route" of "wiki (singular, project's pages)" to "assert_routing" at integration/routing_test.rb
git-svn-id: svn+ssh://rubyforge.org/var/svn/redmine/trunk@8243 e93f8b46-1217-0410-a6f0-8f06a7374b81
2011-12-16 05:53:11 +00:00
Toshi MARUYAMA e2de7f2529 test: replace "should_route" of "timelogs (global)" to "assert_routing" at integration/routing_test.rb
git-svn-id: svn+ssh://rubyforge.org/var/svn/redmine/trunk@8242 e93f8b46-1217-0410-a6f0-8f06a7374b81
2011-12-16 04:01:44 +00:00
Toshi MARUYAMA 34087c4178 add unit test of group blank name in French (#9795)
git-svn-id: svn+ssh://rubyforge.org/var/svn/redmine/trunk@8236 e93f8b46-1217-0410-a6f0-8f06a7374b81
2011-12-15 13:06:42 +00:00
Toshi MARUYAMA 2e6b13a5e9 use set_language_if_valid instead of I18n.locale at unit group test (#9795)
git-svn-id: svn+ssh://rubyforge.org/var/svn/redmine/trunk@8235 e93f8b46-1217-0410-a6f0-8f06a7374b81
2011-12-15 13:06:00 +00:00
Jean-Philippe Lang f27d426347 Asserts that objects are not nil before getting their ids (test still fails with ruby1.9.3).
git-svn-id: svn+ssh://rubyforge.org/var/svn/redmine/trunk@8233 e93f8b46-1217-0410-a6f0-8f06a7374b81
2011-12-15 12:27:41 +00:00
Jean-Philippe Lang a61c9d53eb Set locale in test.
git-svn-id: svn+ssh://rubyforge.org/var/svn/redmine/trunk@8232 e93f8b46-1217-0410-a6f0-8f06a7374b81
2011-12-15 12:18:20 +00:00
Jean-Philippe Lang 4f5e7d678e Fixed: Unrelated error message when creating a group with an invalid name (#9795).
git-svn-id: svn+ssh://rubyforge.org/var/svn/redmine/trunk@8231 e93f8b46-1217-0410-a6f0-8f06a7374b81
2011-12-15 11:13:36 +00:00
Toshi MARUYAMA 08e309ea46 test: replace "should_route" of "roles" to "assert_routing" at integration/routing_test.rb
git-svn-id: svn+ssh://rubyforge.org/var/svn/redmine/trunk@8230 e93f8b46-1217-0410-a6f0-8f06a7374b81
2011-12-15 11:10:33 +00:00
Jean-Philippe Lang b6e6f557f0 Display issue form fields according to permissions.
git-svn-id: svn+ssh://rubyforge.org/var/svn/redmine/trunk@8227 e93f8b46-1217-0410-a6f0-8f06a7374b81
2011-12-15 10:41:49 +00:00
Jean-Philippe Lang 31f2e848b5 Do not change settings in tests.
git-svn-id: svn+ssh://rubyforge.org/var/svn/redmine/trunk@8226 e93f8b46-1217-0410-a6f0-8f06a7374b81
2011-12-15 10:37:21 +00:00
Jean-Philippe Lang a6f6511372 Do not change settings in tests.
git-svn-id: svn+ssh://rubyforge.org/var/svn/redmine/trunk@8225 e93f8b46-1217-0410-a6f0-8f06a7374b81
2011-12-15 10:30:33 +00:00
Jean-Philippe Lang f303000580 Do not change settings in tests.
git-svn-id: svn+ssh://rubyforge.org/var/svn/redmine/trunk@8224 e93f8b46-1217-0410-a6f0-8f06a7374b81
2011-12-15 10:25:14 +00:00
Toshi MARUYAMA f92141decb test: replace "should_route" of "messages" to "assert_routing" at integration/routing_test.rb
git-svn-id: svn+ssh://rubyforge.org/var/svn/redmine/trunk@8223 e93f8b46-1217-0410-a6f0-8f06a7374b81
2011-12-15 08:39:55 +00:00
Toshi MARUYAMA 64129a68cd test: replace "should_route" of "issues" form update to "assert_routing" at integration/routing_test.rb
git-svn-id: svn+ssh://rubyforge.org/var/svn/redmine/trunk@8222 e93f8b46-1217-0410-a6f0-8f06a7374b81
2011-12-15 08:12:42 +00:00
Toshi MARUYAMA 6248689b89 test: replace "should_route" of "groups" to "assert_routing" at integration/routing_test.rb
git-svn-id: svn+ssh://rubyforge.org/var/svn/redmine/trunk@8221 e93f8b46-1217-0410-a6f0-8f06a7374b81
2011-12-15 07:06:37 +00:00
Toshi MARUYAMA f968acbfac test: replace "should_route" of "documents" to "assert_routing" at integration/routing_test.rb
git-svn-id: svn+ssh://rubyforge.org/var/svn/redmine/trunk@8220 e93f8b46-1217-0410-a6f0-8f06a7374b81
2011-12-15 07:06:11 +00:00
Toshi MARUYAMA 4d2a832fb6 test: replace "should_route" of "issues" REST actions to "assert_routing" at integration/routing_test.rb
git-svn-id: svn+ssh://rubyforge.org/var/svn/redmine/trunk@8219 e93f8b46-1217-0410-a6f0-8f06a7374b81
2011-12-15 05:11:04 +00:00
Toshi MARUYAMA 64e960ae97 test: replace "should_route" of "issue reports" to "assert_routing" at integration/routing_test.rb
git-svn-id: svn+ssh://rubyforge.org/var/svn/redmine/trunk@8218 e93f8b46-1217-0410-a6f0-8f06a7374b81
2011-12-15 03:47:17 +00:00
Toshi MARUYAMA f0dd0acbf0 test: replace "should_route" of "members" to "assert_routing" at integration/routing_test.rb
git-svn-id: svn+ssh://rubyforge.org/var/svn/redmine/trunk@8217 e93f8b46-1217-0410-a6f0-8f06a7374b81
2011-12-15 02:56:22 +00:00
Toshi MARUYAMA 8ac56d13d7 test: replace "should_route" of "wikis (plural, admin setup)" to "assert_routing" at integration/routing_test.rb
git-svn-id: svn+ssh://rubyforge.org/var/svn/redmine/trunk@8216 e93f8b46-1217-0410-a6f0-8f06a7374b81
2011-12-15 01:48:26 +00:00
Toshi MARUYAMA f70a5397f2 test: replace "should_route" of "test_custom_fields" to "assert_routing" at integration/routing_test.rb
git-svn-id: svn+ssh://rubyforge.org/var/svn/redmine/trunk@8215 e93f8b46-1217-0410-a6f0-8f06a7374b81
2011-12-15 01:47:42 +00:00
Jean-Philippe Lang 6c91e1420a Removed dependency with monkey-patched rubytree.
git-svn-id: svn+ssh://rubyforge.org/var/svn/redmine/trunk@8214 e93f8b46-1217-0410-a6f0-8f06a7374b81
2011-12-14 22:51:18 +00:00
Etienne Massip 7d2298f39c Save an @Issue#save@.
git-svn-id: svn+ssh://rubyforge.org/var/svn/redmine/trunk@8212 e93f8b46-1217-0410-a6f0-8f06a7374b81
2011-12-14 20:31:34 +00:00
Etienne Massip 840ef94b46 Fixed broken issues context tests (#9794).
git-svn-id: svn+ssh://rubyforge.org/var/svn/redmine/trunk@8211 e93f8b46-1217-0410-a6f0-8f06a7374b81
2011-12-14 20:23:46 +00:00
Toshi MARUYAMA 08e8567e93 test: replace "should_route" of "boards" to "assert_routing" at integration/routing_test.rb
git-svn-id: svn+ssh://rubyforge.org/var/svn/redmine/trunk@8205 e93f8b46-1217-0410-a6f0-8f06a7374b81
2011-12-14 13:05:42 +00:00
Toshi MARUYAMA 98fb0dd565 test: replace "should_route" of "administration panel" to "assert_routing" at integration/routing_test.rb
git-svn-id: svn+ssh://rubyforge.org/var/svn/redmine/trunk@8204 e93f8b46-1217-0410-a6f0-8f06a7374b81
2011-12-14 13:05:08 +00:00
Toshi MARUYAMA e499904e3a test: replace "should_route" of "welcome" to "assert_routing" at integration/routing_test.rb
git-svn-id: svn+ssh://rubyforge.org/var/svn/redmine/trunk@8203 e93f8b46-1217-0410-a6f0-8f06a7374b81
2011-12-14 11:47:10 +00:00
Toshi MARUYAMA a61d7d053f test: replace "should_route" of "attachments" to "assert_routing" at integration/routing_test.rb
git-svn-id: svn+ssh://rubyforge.org/var/svn/redmine/trunk@8202 e93f8b46-1217-0410-a6f0-8f06a7374b81
2011-12-14 10:07:31 +00:00
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 7d501eaf81 Code cleanup.
git-svn-id: svn+ssh://rubyforge.org/var/svn/redmine/trunk@8200 e93f8b46-1217-0410-a6f0-8f06a7374b81
2011-12-13 20:40:03 +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
Toshi MARUYAMA 4f8ed70813 add unit test of CustomField model before_validation
git-svn-id: svn+ssh://rubyforge.org/var/svn/redmine/trunk@8190 e93f8b46-1217-0410-a6f0-8f06a7374b81
2011-12-11 12:04:16 +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
Jean-Philippe Lang be687f6c0b Makes assertion compatible with ruby1.9.
git-svn-id: svn+ssh://rubyforge.org/var/svn/redmine/trunk@8169 e93f8b46-1217-0410-a6f0-8f06a7374b81
2011-12-10 14:00:31 +00:00