Commit Graph

2846 Commits

Author SHA1 Message Date
Toshi MARUYAMA 39aabb2b4b test: route: move news test to new file
git-svn-id: svn+ssh://rubyforge.org/var/svn/redmine/trunk@8358 e93f8b46-1217-0410-a6f0-8f06a7374b81
2011-12-25 02:04:35 +00:00
Toshi MARUYAMA 79c0b8bade test: route: move comments tests in news test to new file
git-svn-id: svn+ssh://rubyforge.org/var/svn/redmine/trunk@8357 e93f8b46-1217-0410-a6f0-8f06a7374b81
2011-12-25 02:04:11 +00:00
Toshi MARUYAMA 216ffa05bc test: route: move issue_categories test to new file
git-svn-id: svn+ssh://rubyforge.org/var/svn/redmine/trunk@8356 e93f8b46-1217-0410-a6f0-8f06a7374b81
2011-12-25 02:03:40 +00:00
Toshi MARUYAMA e48d90a294 test: route: move issues tests to new file
git-svn-id: svn+ssh://rubyforge.org/var/svn/redmine/trunk@8355 e93f8b46-1217-0410-a6f0-8f06a7374b81
2011-12-25 01:13:43 +00:00
Toshi MARUYAMA 2fc1a83e6f test: route: move previews test in news test to routing/previews_test.rb
git-svn-id: svn+ssh://rubyforge.org/var/svn/redmine/trunk@8354 e93f8b46-1217-0410-a6f0-8f06a7374b81
2011-12-25 01:03:06 +00:00
Toshi MARUYAMA 86ba999486 test: route: move context_menus test in test_issues_extra_actions to new file
git-svn-id: svn+ssh://rubyforge.org/var/svn/redmine/trunk@8353 e93f8b46-1217-0410-a6f0-8f06a7374b81
2011-12-24 22:50:19 +00:00
Toshi MARUYAMA 3995ead92b test: route: move previews test in test_issues_extra_actions to new file
git-svn-id: svn+ssh://rubyforge.org/var/svn/redmine/trunk@8352 e93f8b46-1217-0410-a6f0-8f06a7374b81
2011-12-24 22:49:56 +00:00
Toshi MARUYAMA 4b8ceb51e2 test: route: move versions test in projects test to routing/versions_test.rb
git-svn-id: svn+ssh://rubyforge.org/var/svn/redmine/trunk@8351 e93f8b46-1217-0410-a6f0-8f06a7374b81
2011-12-24 13:03:14 +00:00
Toshi MARUYAMA cf2ad74ec7 test: route: move welcome test to new file
git-svn-id: svn+ssh://rubyforge.org/var/svn/redmine/trunk@8350 e93f8b46-1217-0410-a6f0-8f06a7374b81
2011-12-24 12:13:17 +00:00
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
Jean-Philippe Lang b1bb26b1e0 ruby1.9: macro must accept 2 arguments.
git-svn-id: svn+ssh://rubyforge.org/var/svn/redmine/trunk@8168 e93f8b46-1217-0410-a6f0-8f06a7374b81
2011-12-10 13:55:47 +00:00
Jean-Philippe Lang 3507707325 Fixed assert call.
git-svn-id: svn+ssh://rubyforge.org/var/svn/redmine/trunk@8166 e93f8b46-1217-0410-a6f0-8f06a7374b81
2011-12-10 13:48:53 +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
Toshi MARUYAMA eb789b147a scm: git: remove unused --since option (#4547, #4716, #7146, #6013)
git-svn-id: svn+ssh://rubyforge.org/var/svn/redmine/trunk@8156 e93f8b46-1217-0410-a6f0-8f06a7374b81
2011-12-10 11:55:02 +00:00
Jean-Philippe Lang 4cedb0b628 Issue destroy is now DELETE only.
git-svn-id: svn+ssh://rubyforge.org/var/svn/redmine/trunk@8155 e93f8b46-1217-0410-a6f0-8f06a7374b81
2011-12-10 11:44:25 +00:00
Jean-Philippe Lang 467503fd4b Changed ProjectsController#destroy to DELETE only.
git-svn-id: svn+ssh://rubyforge.org/var/svn/redmine/trunk@8152 e93f8b46-1217-0410-a6f0-8f06a7374b81
2011-12-10 09:32:41 +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 52a7fa6176 Changed IssuesController#destroy to DELETE only.
git-svn-id: svn+ssh://rubyforge.org/var/svn/redmine/trunk@8150 e93f8b46-1217-0410-a6f0-8f06a7374b81
2011-12-10 09:10:51 +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
Toshi MARUYAMA 2afe5bdf57 Rails3: test: replace deprecated Errors#on to Errors#[] and join with to_s at test/unit/custom_field_test.rb
On Rails2, Errors#[] returns single error if one error raises.
But, on Rails3, Errors#[] always returns the array.

git-svn-id: svn+ssh://rubyforge.org/var/svn/redmine/trunk@8139 e93f8b46-1217-0410-a6f0-8f06a7374b81
2011-12-09 07:16:59 +00:00
Toshi MARUYAMA 85382514f9 Rails3: test: replace deprecated Errors#on to Errors#[] and join with to_s at test/unit/issue_test.rb
On Rails2, Errors#[] returns single error if one error raises.
But, on Rails3, Errors#[] always returns the array.

git-svn-id: svn+ssh://rubyforge.org/var/svn/redmine/trunk@8138 e93f8b46-1217-0410-a6f0-8f06a7374b81
2011-12-09 07:16:21 +00:00
Toshi MARUYAMA 8e5242ef63 Rails3: test: replace deprecated Errors#on to Errors#[] and join with to_s at test/unit/user_test.rb
On Rails2, Errors#[] returns single error if one error raises.
But, on Rails3, Errors#[] always returns the array.

git-svn-id: svn+ssh://rubyforge.org/var/svn/redmine/trunk@8137 e93f8b46-1217-0410-a6f0-8f06a7374b81
2011-12-09 07:15:51 +00:00
Toshi MARUYAMA 7aba81dbe7 Rails3: test: replace deprecated Errors#on to Errors#[] and join with to_s at test/unit/time_entry_activity_test.rb
On Rails2, Errors#[] returns single error if one error raises.
But, on Rails3, Errors#[] always returns the array.

git-svn-id: svn+ssh://rubyforge.org/var/svn/redmine/trunk@8136 e93f8b46-1217-0410-a6f0-8f06a7374b81
2011-12-09 07:15:12 +00:00
Toshi MARUYAMA 66b49c634d Rails3: test: replace deprecated Errors#on to Errors#[] and join with to_s at test/unit/repository_test.rb
On Rails2, Errors#[] returns single error if one error raises.
But, on Rails3, Errors#[] always returns the array.

git-svn-id: svn+ssh://rubyforge.org/var/svn/redmine/trunk@8135 e93f8b46-1217-0410-a6f0-8f06a7374b81
2011-12-09 07:14:38 +00:00
Toshi MARUYAMA caf9edf2c1 Rails3: test: replace deprecated Errors#on to Errors#[] and join with to_s at test/unit/wiki_page_test.rb
On Rails2, Errors#[] returns single error if one error raises.
But, on Rails3, Errors#[] always returns the array.

git-svn-id: svn+ssh://rubyforge.org/var/svn/redmine/trunk@8134 e93f8b46-1217-0410-a6f0-8f06a7374b81
2011-12-09 05:55:32 +00:00
Toshi MARUYAMA 63d27a5389 Rails3: test: replace deprecated Errors#on to Errors#[] and join with to_s at test/functional/issues_controller_test.rb
On Rails2, Errors#[] returns single error if one error raises.
But, on Rails3, Errors#[] always returns the array.

git-svn-id: svn+ssh://rubyforge.org/var/svn/redmine/trunk@8133 e93f8b46-1217-0410-a6f0-8f06a7374b81
2011-12-09 05:54:51 +00:00
Toshi MARUYAMA c8556330c1 Rails3: test: replace deprecated Errors#on to Errors#[] and join with to_s at test/unit/version_test.rb
On Rails2, Errors#[] returns single error if one error raises.
But, on Rails3, Errors#[] always returns the array.

git-svn-id: svn+ssh://rubyforge.org/var/svn/redmine/trunk@8132 e93f8b46-1217-0410-a6f0-8f06a7374b81
2011-12-09 05:54:13 +00:00
Jean-Philippe Lang 42d2bf0baf Makes project and tracker assigned first in #attributes=
git-svn-id: svn+ssh://rubyforge.org/var/svn/redmine/trunk@8131 e93f8b46-1217-0410-a6f0-8f06a7374b81
2011-12-08 20:37:12 +00:00
Toshi MARUYAMA 740b54f55b add unit test of error message in case that member role is empty
git-svn-id: svn+ssh://rubyforge.org/var/svn/redmine/trunk@8126 e93f8b46-1217-0410-a6f0-8f06a7374b81
2011-12-08 15:11:17 +00:00
Toshi MARUYAMA 15bb2fefa4 back out r8124
r8124 shows ":roles can't be empty".

git-svn-id: svn+ssh://rubyforge.org/var/svn/redmine/trunk@8125 e93f8b46-1217-0410-a6f0-8f06a7374b81
2011-12-08 13:37:27 +00:00
Toshi MARUYAMA d9699adce5 Rails3: model: Member: errors must be set on existing attributes
On Rails 3.0, test fails with following error.

<pre>
Error:
test_validate(MemberTest):
NoMethodError: undefined method `role' for #<Member:0x7f73caf8cd08>
    app/models/member.rb:87:in `validate_role'
    test/unit/member_test.rb:76:in `test_validate'
</pre>

Contributed by Sylvain Utard.

git-svn-id: svn+ssh://rubyforge.org/var/svn/redmine/trunk@8124 e93f8b46-1217-0410-a6f0-8f06a7374b81
2011-12-08 11:13:24 +00:00
Jean-Philippe Lang 12077a4d44 Fixed that a cross-project custom query is not remembered inside project (#9738).
git-svn-id: svn+ssh://rubyforge.org/var/svn/redmine/trunk@8113 e93f8b46-1217-0410-a6f0-8f06a7374b81
2011-12-07 21:35:14 +00:00
Jean-Philippe Lang a63027e175 Fixed that custom values get saved when assigning custom values after changing to a tracker with different custom fields (#9737).
git-svn-id: svn+ssh://rubyforge.org/var/svn/redmine/trunk@8103 e93f8b46-1217-0410-a6f0-8f06a7374b81
2011-12-06 22:20:49 +00:00
Jean-Philippe Lang 5ca558f191 Fixed: error when filtering by numeric custom field with postgresql (#9719).
git-svn-id: svn+ssh://rubyforge.org/var/svn/redmine/trunk@8098 e93f8b46-1217-0410-a6f0-8f06a7374b81
2011-12-05 20:45:45 +00:00
Jean-Philippe Lang fe4c7237fb Adds tests for MailHandler.
git-svn-id: svn+ssh://rubyforge.org/var/svn/redmine/trunk@8095 e93f8b46-1217-0410-a6f0-8f06a7374b81
2011-12-05 18:56:00 +00:00
Jean-Philippe Lang 1050993348 Removed unnecessary calculations in time entries index.
git-svn-id: svn+ssh://rubyforge.org/var/svn/redmine/trunk@8085 e93f8b46-1217-0410-a6f0-8f06a7374b81
2011-12-04 23:01:42 +00:00
Jean-Philippe Lang ff0f141126 Adds named scopes for projects index.
git-svn-id: svn+ssh://rubyforge.org/var/svn/redmine/trunk@8082 e93f8b46-1217-0410-a6f0-8f06a7374b81
2011-12-04 22:31:02 +00:00
Jean-Philippe Lang f52410be19 Adds named scopes for users index.
git-svn-id: svn+ssh://rubyforge.org/var/svn/redmine/trunk@8081 e93f8b46-1217-0410-a6f0-8f06a7374b81
2011-12-04 22:24:33 +00:00
Jean-Philippe Lang 9f1c59e9d0 Moves test to non-transactional fixtures tests (failure with postgresql).
git-svn-id: svn+ssh://rubyforge.org/var/svn/redmine/trunk@8078 e93f8b46-1217-0410-a6f0-8f06a7374b81
2011-12-04 19:20:22 +00:00
Jean-Philippe Lang cad148cb5c Fixes test conditions.
git-svn-id: svn+ssh://rubyforge.org/var/svn/redmine/trunk@8076 e93f8b46-1217-0410-a6f0-8f06a7374b81
2011-12-04 19:12:15 +00:00
Jean-Philippe Lang e77046ba4e Adds a test for invalid query statement.
git-svn-id: svn+ssh://rubyforge.org/var/svn/redmine/trunk@8074 e93f8b46-1217-0410-a6f0-8f06a7374b81
2011-12-04 16:59:03 +00:00
Jean-Philippe Lang 6d498a3c46 Makes spent time column available on the issue list (#971).
git-svn-id: svn+ssh://rubyforge.org/var/svn/redmine/trunk@8073 e93f8b46-1217-0410-a6f0-8f06a7374b81
2011-12-04 16:43:32 +00:00
Toshi MARUYAMA 93603f383a add unit test to validate watcher
git-svn-id: svn+ssh://rubyforge.org/var/svn/redmine/trunk@8071 e93f8b46-1217-0410-a6f0-8f06a7374b81
2011-12-04 09:44:11 +00:00
Toshi MARUYAMA 420e70180c add unit test to ensure user preference others is hash in saving
git-svn-id: svn+ssh://rubyforge.org/var/svn/redmine/trunk@8069 e93f8b46-1217-0410-a6f0-8f06a7374b81
2011-12-04 06:43:48 +00:00
Toshi MARUYAMA 747afd8088 add unit test of member_role validate
git-svn-id: svn+ssh://rubyforge.org/var/svn/redmine/trunk@8067 e93f8b46-1217-0410-a6f0-8f06a7374b81
2011-12-04 05:20:42 +00:00
Jean-Philippe Lang a0a6571be3 Adds tests for plugin API.
git-svn-id: svn+ssh://rubyforge.org/var/svn/redmine/trunk@8066 e93f8b46-1217-0410-a6f0-8f06a7374b81
2011-12-03 21:33:34 +00:00
Jean-Philippe Lang a398faa5d7 Adds a test for when accessing wiki history without permission.
git-svn-id: svn+ssh://rubyforge.org/var/svn/redmine/trunk@8064 e93f8b46-1217-0410-a6f0-8f06a7374b81
2011-12-03 20:30:50 +00:00
Jean-Philippe Lang 81bcb4d999 Don't change setting value in tests.
git-svn-id: svn+ssh://rubyforge.org/var/svn/redmine/trunk@8063 e93f8b46-1217-0410-a6f0-8f06a7374b81
2011-12-03 20:28:32 +00:00
Jean-Philippe Lang 937a954013 Adds a test for parent issues display.
git-svn-id: svn+ssh://rubyforge.org/var/svn/redmine/trunk@8062 e93f8b46-1217-0410-a6f0-8f06a7374b81
2011-12-03 18:25:53 +00:00
Jean-Philippe Lang 7c0a05360e Fixes assertion.
git-svn-id: svn+ssh://rubyforge.org/var/svn/redmine/trunk@8060 e93f8b46-1217-0410-a6f0-8f06a7374b81
2011-12-03 18:21:00 +00:00
Jean-Philippe Lang 3fd504e545 Adds a test for subtasks display.
git-svn-id: svn+ssh://rubyforge.org/var/svn/redmine/trunk@8059 e93f8b46-1217-0410-a6f0-8f06a7374b81
2011-12-03 18:20:26 +00:00
Toshi MARUYAMA 7a5d6f61c7 add test to check to set issue category assignee nil in destroying member
git-svn-id: svn+ssh://rubyforge.org/var/svn/redmine/trunk@8057 e93f8b46-1217-0410-a6f0-8f06a7374b81
2011-12-03 16:40:42 +00:00
Jean-Philippe Lang 1337fcb3d9 Adds test for test email failure.
git-svn-id: svn+ssh://rubyforge.org/var/svn/redmine/trunk@8056 e93f8b46-1217-0410-a6f0-8f06a7374b81
2011-12-03 15:39:59 +00:00
Jean-Philippe Lang ee5d3ab19b Adds a test for child_pages macro failure.
git-svn-id: svn+ssh://rubyforge.org/var/svn/redmine/trunk@8055 e93f8b46-1217-0410-a6f0-8f06a7374b81
2011-12-03 15:32:46 +00:00
Jean-Philippe Lang 036c3a56b4 Adds a test for macro registration.
git-svn-id: svn+ssh://rubyforge.org/var/svn/redmine/trunk@8054 e93f8b46-1217-0410-a6f0-8f06a7374b81
2011-12-03 15:29:51 +00:00
Jean-Philippe Lang 30bc5873e0 Adds a test for macro_list wiki macro.
git-svn-id: svn+ssh://rubyforge.org/var/svn/redmine/trunk@8053 e93f8b46-1217-0410-a6f0-8f06a7374b81
2011-12-03 15:25:02 +00:00
Jean-Philippe Lang e67afc8886 Test for repository edit and cleanup.
git-svn-id: svn+ssh://rubyforge.org/var/svn/redmine/trunk@8052 e93f8b46-1217-0410-a6f0-8f06a7374b81
2011-12-03 15:13:47 +00:00
Jean-Philippe Lang a08fa696d4 Test for repository edit and cleanup.
git-svn-id: svn+ssh://rubyforge.org/var/svn/redmine/trunk@8051 e93f8b46-1217-0410-a6f0-8f06a7374b81
2011-12-03 15:10:41 +00:00
Jean-Philippe Lang 4eb14ab85c Test for repository edit and cleanup.
git-svn-id: svn+ssh://rubyforge.org/var/svn/redmine/trunk@8050 e93f8b46-1217-0410-a6f0-8f06a7374b81
2011-12-03 15:09:08 +00:00
Jean-Philippe Lang f660d5f183 Test for repository edit and cleanup.
git-svn-id: svn+ssh://rubyforge.org/var/svn/redmine/trunk@8049 e93f8b46-1217-0410-a6f0-8f06a7374b81
2011-12-03 15:06:23 +00:00
Jean-Philippe Lang e2e3af4f0d Fixed test_updated_on_eager_load.
git-svn-id: svn+ssh://rubyforge.org/var/svn/redmine/trunk@8048 e93f8b46-1217-0410-a6f0-8f06a7374b81
2011-12-03 14:47:24 +00:00
Toshi MARUYAMA 3d1e6f5b96 fix member validate test of empty role at unit test
Id 2 user is already assigned.

git-svn-id: svn+ssh://rubyforge.org/var/svn/redmine/trunk@8046 e93f8b46-1217-0410-a6f0-8f06a7374b81
2011-12-03 14:33:02 +00:00
Jean-Philippe Lang a2d515adce Adds tests for SysController.
git-svn-id: svn+ssh://rubyforge.org/var/svn/redmine/trunk@8045 e93f8b46-1217-0410-a6f0-8f06a7374b81
2011-12-03 13:59:17 +00:00
Jean-Philippe Lang 582574bace Adds a test for revision diff as raw format.
git-svn-id: svn+ssh://rubyforge.org/var/svn/redmine/trunk@8042 e93f8b46-1217-0410-a6f0-8f06a7374b81
2011-12-03 13:18:00 +00:00
Toshi MARUYAMA 7e62d02abb add gmtime at unit wiki page "test_updated_on_eager_load" for Rails3 compatibility
git-svn-id: svn+ssh://rubyforge.org/var/svn/redmine/trunk@8040 e93f8b46-1217-0410-a6f0-8f06a7374b81
2011-12-03 11:11:32 +00:00
Jean-Philippe Lang fd18c51938 Adds tests for plugin settings editing.
git-svn-id: svn+ssh://rubyforge.org/var/svn/redmine/trunk@8039 e93f8b46-1217-0410-a6f0-8f06a7374b81
2011-12-03 10:06:41 +00:00
Jean-Philippe Lang 8bbb5d9686 Tests/cleanup VersionsController.
git-svn-id: svn+ssh://rubyforge.org/var/svn/redmine/trunk@8038 e93f8b46-1217-0410-a6f0-8f06a7374b81
2011-12-03 09:12:51 +00:00
Jean-Philippe Lang 666830cca0 Test class cleanup.
git-svn-id: svn+ssh://rubyforge.org/var/svn/redmine/trunk@8037 e93f8b46-1217-0410-a6f0-8f06a7374b81
2011-12-03 08:53:02 +00:00
Jean-Philippe Lang b6b77c438a Adds functional tests for repository creation/update.
git-svn-id: svn+ssh://rubyforge.org/var/svn/redmine/trunk@8036 e93f8b46-1217-0410-a6f0-8f06a7374b81
2011-12-03 08:47:40 +00:00
Jean-Philippe Lang 040cfa4ad5 Makes the link in an issue update notification point to the change (#9690).
git-svn-id: svn+ssh://rubyforge.org/var/svn/redmine/trunk@8030 e93f8b46-1217-0410-a6f0-8f06a7374b81
2011-12-02 21:00:42 +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 caf898d7d1 Extracted time report logic from the controller.
git-svn-id: svn+ssh://rubyforge.org/var/svn/redmine/trunk@8026 e93f8b46-1217-0410-a6f0-8f06a7374b81
2011-12-02 18:46:43 +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 63b7d7e4ac Add missing fixtures.
git-svn-id: svn+ssh://rubyforge.org/var/svn/redmine/trunk@8018 e93f8b46-1217-0410-a6f0-8f06a7374b81
2011-12-01 19:04:13 +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 c3c2a4afe0 Resourcified documents.
git-svn-id: svn+ssh://rubyforge.org/var/svn/redmine/trunk@8010 e93f8b46-1217-0410-a6f0-8f06a7374b81
2011-11-30 19:51:16 +00:00
Jean-Philippe Lang e25caff16f Test class cleanup.
git-svn-id: svn+ssh://rubyforge.org/var/svn/redmine/trunk@8006 e93f8b46-1217-0410-a6f0-8f06a7374b81
2011-11-30 18:59:51 +00:00
Jean-Philippe Lang afb84b6823 Adds functional tests for DocumentsController.
git-svn-id: svn+ssh://rubyforge.org/var/svn/redmine/trunk@8005 e93f8b46-1217-0410-a6f0-8f06a7374b81
2011-11-30 18:59:06 +00:00
Jean-Philippe Lang e7d48427d6 Adds functional tests on issue list content formatting.
git-svn-id: svn+ssh://rubyforge.org/var/svn/redmine/trunk@7991 e93f8b46-1217-0410-a6f0-8f06a7374b81
2011-11-29 20:56:33 +00:00
Jean-Philippe Lang 1e7c4488b9 Adds functional tests for MembersController.
git-svn-id: svn+ssh://rubyforge.org/var/svn/redmine/trunk@7990 e93f8b46-1217-0410-a6f0-8f06a7374b81
2011-11-29 20:29:50 +00:00
Jean-Philippe Lang b0fe7415d1 Adds functional tests for GroupsController.
git-svn-id: svn+ssh://rubyforge.org/var/svn/redmine/trunk@7989 e93f8b46-1217-0410-a6f0-8f06a7374b81
2011-11-29 20:21:54 +00:00
Jean-Philippe Lang e508677228 Adds functional tests for EnumerationsController.
git-svn-id: svn+ssh://rubyforge.org/var/svn/redmine/trunk@7987 e93f8b46-1217-0410-a6f0-8f06a7374b81
2011-11-29 20:04:30 +00:00
Jean-Philippe Lang dd501b1ba3 Adds functional tests for ActivitiesController.
git-svn-id: svn+ssh://rubyforge.org/var/svn/redmine/trunk@7986 e93f8b46-1217-0410-a6f0-8f06a7374b81
2011-11-29 19:57:07 +00:00
Jean-Philippe Lang fd24250be0 Fixed: crypting blank passwords raises an error (#9137).
git-svn-id: svn+ssh://rubyforge.org/var/svn/redmine/trunk@7985 e93f8b46-1217-0410-a6f0-8f06a7374b81
2011-11-29 19:47:51 +00:00
Jean-Philippe Lang d92c204ed3 Fixed: version files in Files module cannot be downloaded if issue tracking is disabled (#9055).
git-svn-id: svn+ssh://rubyforge.org/var/svn/redmine/trunk@7984 e93f8b46-1217-0410-a6f0-8f06a7374b81
2011-11-29 19:36:49 +00:00
Jean-Philippe Lang 9ed5d1dd02 Prevent fixture files from being deleted.
git-svn-id: svn+ssh://rubyforge.org/var/svn/redmine/trunk@7983 e93f8b46-1217-0410-a6f0-8f06a7374b81
2011-11-29 18:51:39 +00:00
Jean-Philippe Lang d66c8faa9b Fixed: Wiki section edit escapes pre tags inside pre blocks (#9673).
git-svn-id: svn+ssh://rubyforge.org/var/svn/redmine/trunk@7976 e93f8b46-1217-0410-a6f0-8f06a7374b81
2011-11-28 22:08:15 +00:00
Jean-Philippe Lang c5cabfe106 Fixed: Wiki section edit escapes code tags inside pre blocks (#9673).
git-svn-id: svn+ssh://rubyforge.org/var/svn/redmine/trunk@7975 e93f8b46-1217-0410-a6f0-8f06a7374b81
2011-11-28 21:45:02 +00:00
Jean-Philippe Lang 2dbbdafbc6 Removed EnumerationsController#list action.
git-svn-id: svn+ssh://rubyforge.org/var/svn/redmine/trunk@7973 e93f8b46-1217-0410-a6f0-8f06a7374b81
2011-11-28 20:23:57 +00:00
Jean-Philippe Lang b8a924e4e1 Adds #current_version? method to wiki content.
git-svn-id: svn+ssh://rubyforge.org/var/svn/redmine/trunk@7972 e93f8b46-1217-0410-a6f0-8f06a7374b81
2011-11-28 20:12:03 +00:00
Jean-Philippe Lang 744e4357a0 Fixed: Wiki export link doesn't work for users without :view_wiki_edits permission (#9682).
git-svn-id: svn+ssh://rubyforge.org/var/svn/redmine/trunk@7971 e93f8b46-1217-0410-a6f0-8f06a7374b81
2011-11-28 20:04:38 +00:00
Jean-Philippe Lang 63dc83fc0d Fixed: Section-edit buttons not available when a the version parameter is provided even if it's the current version (#9674).
git-svn-id: svn+ssh://rubyforge.org/var/svn/redmine/trunk@7970 e93f8b46-1217-0410-a6f0-8f06a7374b81
2011-11-28 18:11:30 +00:00
Jean-Philippe Lang 9f15517095 Fixed: Angle brackets within 'pre' blocks are silently replaced by HTML entities during wiki section-edit (#9673).
git-svn-id: svn+ssh://rubyforge.org/var/svn/redmine/trunk@7969 e93f8b46-1217-0410-a6f0-8f06a7374b81
2011-11-28 17:56:50 +00:00
Jean-Philippe Lang 5c60a4f6ca Adds functional tests for GroupsController.
git-svn-id: svn+ssh://rubyforge.org/var/svn/redmine/trunk@7968 e93f8b46-1217-0410-a6f0-8f06a7374b81
2011-11-28 17:46:21 +00:00
Jean-Philippe Lang dfa6233484 Adds test for r7961 fix (#9672).
git-svn-id: svn+ssh://rubyforge.org/var/svn/redmine/trunk@7962 e93f8b46-1217-0410-a6f0-8f06a7374b81
2011-11-27 21:37:56 +00:00
Jean-Philippe Lang f9bf53262a Adds functional tests for CustomFieldsController.
git-svn-id: svn+ssh://rubyforge.org/var/svn/redmine/trunk@7960 e93f8b46-1217-0410-a6f0-8f06a7374b81
2011-11-27 21:11:10 +00:00
Jean-Philippe Lang b23827491a Fixes require path in test.
git-svn-id: svn+ssh://rubyforge.org/var/svn/redmine/trunk@7959 e93f8b46-1217-0410-a6f0-8f06a7374b81
2011-11-27 20:27:13 +00:00
Jean-Philippe Lang 5ac8020801 Do not include extra_info attribute in SysController responses because it breaks reposman activeresource client (#8707).
git-svn-id: svn+ssh://rubyforge.org/var/svn/redmine/trunk@7956 e93f8b46-1217-0410-a6f0-8f06a7374b81
2011-11-27 17:30:28 +00:00
Jean-Philippe Lang 6076db74f1 Improved user creation from incoming email.
git-svn-id: svn+ssh://rubyforge.org/var/svn/redmine/trunk@7952 e93f8b46-1217-0410-a6f0-8f06a7374b81
2011-11-27 15:27:14 +00:00
Toshi MARUYAMA d136672fa3 add tests to export time entry csv in French for csv separator (#8368)
git-svn-id: svn+ssh://rubyforge.org/var/svn/redmine/trunk@7951 e93f8b46-1217-0410-a6f0-8f06a7374b81
2011-11-27 12:14:45 +00:00
Toshi MARUYAMA 88231f460f add csv separator check to the test to export time entry csv in Traditional Chinese (#8368)
git-svn-id: svn+ssh://rubyforge.org/var/svn/redmine/trunk@7949 e93f8b46-1217-0410-a6f0-8f06a7374b81
2011-11-27 12:09:11 +00:00
Jean-Philippe Lang 885605b439 Resourcified attachments.
git-svn-id: svn+ssh://rubyforge.org/var/svn/redmine/trunk@7948 e93f8b46-1217-0410-a6f0-8f06a7374b81
2011-11-27 11:16:47 +00:00
Toshi MARUYAMA b95fd6315c fix time entry csv last line encoding (#8549)
git-svn-id: svn+ssh://rubyforge.org/var/svn/redmine/trunk@7947 e93f8b46-1217-0410-a6f0-8f06a7374b81
2011-11-27 10:53:08 +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 caefb912b5 add tests to export time log csv in Traditional Chinese and French for csv separator (#8368)
git-svn-id: svn+ssh://rubyforge.org/var/svn/redmine/trunk@7944 e93f8b46-1217-0410-a6f0-8f06a7374b81
2011-11-27 10:02:31 +00:00
Toshi MARUYAMA 0eed9198eb add tests to export issues csv in Traditional Chinese and French for csv separator (#8368)
git-svn-id: svn+ssh://rubyforge.org/var/svn/redmine/trunk@7943 e93f8b46-1217-0410-a6f0-8f06a7374b81
2011-11-27 10:00:04 +00:00
Toshi MARUYAMA 88a713c719 cover the issues pdf test in English and CJK locales
git-svn-id: svn+ssh://rubyforge.org/var/svn/redmine/trunk@7940 e93f8b46-1217-0410-a6f0-8f06a7374b81
2011-11-27 02:26:36 +00:00
Jean-Philippe Lang 5a1fcf826f Sort the issue list by author/assignee according to user display format (#9669).
git-svn-id: svn+ssh://rubyforge.org/var/svn/redmine/trunk@7938 e93f8b46-1217-0410-a6f0-8f06a7374b81
2011-11-26 17:37:20 +00:00
Jean-Philippe Lang e21f60d170 Fixed: log time form not displayed on issue edit with :log_time permission only (#9405).
git-svn-id: svn+ssh://rubyforge.org/var/svn/redmine/trunk@7924 e93f8b46-1217-0410-a6f0-8f06a7374b81
2011-11-25 21:58:09 +00:00
Jean-Philippe Lang 703211c0a6 Fixed time entries context menu display according permissions (#9405).
git-svn-id: svn+ssh://rubyforge.org/var/svn/redmine/trunk@7922 e93f8b46-1217-0410-a6f0-8f06a7374b81
2011-11-24 21:31:21 +00:00
Jean-Philippe Lang f436918dbe Fixed that :edit_time_entries permission allows creating time entries (#9405).
git-svn-id: svn+ssh://rubyforge.org/var/svn/redmine/trunk@7921 e93f8b46-1217-0410-a6f0-8f06a7374b81
2011-11-24 21:21:15 +00:00
Jean-Philippe Lang 6b43e9462e Fixed that :view_time_entries permission allows time entry editing (#9405).
git-svn-id: svn+ssh://rubyforge.org/var/svn/redmine/trunk@7920 e93f8b46-1217-0410-a6f0-8f06a7374b81
2011-11-24 21:16:44 +00:00
Jean-Philippe Lang 902b3078d5 Limit the characters stripped by Attachment#sanitize_filename (#4324).
git-svn-id: svn+ssh://rubyforge.org/var/svn/redmine/trunk@7917 e93f8b46-1217-0410-a6f0-8f06a7374b81
2011-11-24 20:17:56 +00:00
Toshi MARUYAMA f936b7b5a4 pdf: lib: add the method to return attachment from filename and encoding (#3261)
git-svn-id: svn+ssh://rubyforge.org/var/svn/redmine/trunk@7912 e93f8b46-1217-0410-a6f0-8f06a7374b81
2011-11-24 09:43:01 +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
Toshi MARUYAMA 4e83057e76 code layout clean up test/unit/helpers/application_helper_test.rb
git-svn-id: svn+ssh://rubyforge.org/var/svn/redmine/trunk@7910 e93f8b46-1217-0410-a6f0-8f06a7374b81
2011-11-24 05:52:24 +00:00
Toshi MARUYAMA 7120496629 add missing fixtures at unit attachment test
git-svn-id: svn+ssh://rubyforge.org/var/svn/redmine/trunk@7909 e93f8b46-1217-0410-a6f0-8f06a7374b81
2011-11-24 05:51:39 +00:00
Toshi MARUYAMA 564321b2d5 move logic to use latest image file attachment to class method for common use (#3261)
git-svn-id: svn+ssh://rubyforge.org/var/svn/redmine/trunk@7908 e93f8b46-1217-0410-a6f0-8f06a7374b81
2011-11-24 05:31:29 +00:00
Toshi MARUYAMA 627dfd80b6 add unit application helper test to use latest image file (#3261)
git-svn-id: svn+ssh://rubyforge.org/var/svn/redmine/trunk@7907 e93f8b46-1217-0410-a6f0-8f06a7374b81
2011-11-24 03:34:57 +00:00
Jean-Philippe Lang 7bae592e62 Fixed stub.
git-svn-id: svn+ssh://rubyforge.org/var/svn/redmine/trunk@7906 e93f8b46-1217-0410-a6f0-8f06a7374b81
2011-11-23 20:48:20 +00:00
Toshi MARUYAMA b8b2c1cce4 use temporary attachments directory in unit attachment test
git-svn-id: svn+ssh://rubyforge.org/var/svn/redmine/trunk@7892 e93f8b46-1217-0410-a6f0-8f06a7374b81
2011-11-23 14:42:32 +00:00
Toshi MARUYAMA 9be9c5f565 fix inconsistent image filename extensions (#9638)
git-svn-id: svn+ssh://rubyforge.org/var/svn/redmine/trunk@7891 e93f8b46-1217-0410-a6f0-8f06a7374b81
2011-11-23 05:30:53 +00:00
Jean-Philippe Lang 68f3e91bd7 Resourcified issue statuses.
git-svn-id: svn+ssh://rubyforge.org/var/svn/redmine/trunk@7890 e93f8b46-1217-0410-a6f0-8f06a7374b81
2011-11-22 22:04:07 +00:00
Jean-Philippe Lang 6577f37fc3 Resourcified trackers.
git-svn-id: svn+ssh://rubyforge.org/var/svn/redmine/trunk@7888 e93f8b46-1217-0410-a6f0-8f06a7374b81
2011-11-22 21:32:45 +00:00
Toshi MARUYAMA 8a8162c743 attachment: add missing diff type at functional tests (#2371, #9612)
git-svn-id: svn+ssh://rubyforge.org/var/svn/redmine/trunk@7885 e93f8b46-1217-0410-a6f0-8f06a7374b81
2011-11-22 00:08:02 +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 6f4fb8b892 Resourcified issue categories (#9553).
git-svn-id: svn+ssh://rubyforge.org/var/svn/redmine/trunk@7881 e93f8b46-1217-0410-a6f0-8f06a7374b81
2011-11-20 15:55:19 +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 ca300ccdea Adds a dialog box for CSV export options (#4742).
git-svn-id: svn+ssh://rubyforge.org/var/svn/redmine/trunk@7874 e93f8b46-1217-0410-a6f0-8f06a7374b81
2011-11-20 13:23:20 +00:00
Toshi MARUYAMA 617cb8d270 attachment: update a functional test to switch "side by side" and "inline" for ISO-8859-1 patches (#2371, #9612)
git-svn-id: svn+ssh://rubyforge.org/var/svn/redmine/trunk@7873 e93f8b46-1217-0410-a6f0-8f06a7374b81
2011-11-20 12:17:08 +00:00
Toshi MARUYAMA c1ed67c741 attachment: add a functional test to show an ISO-8859-1 content file (#2371)
git-svn-id: svn+ssh://rubyforge.org/var/svn/redmine/trunk@7868 e93f8b46-1217-0410-a6f0-8f06a7374b81
2011-11-20 11:47:45 +00:00
Toshi MARUYAMA c6191cdc82 attachment: add a functional test to show an ISO-8859-1 patch (#2371)
git-svn-id: svn+ssh://rubyforge.org/var/svn/redmine/trunk@7867 e93f8b46-1217-0410-a6f0-8f06a7374b81
2011-11-20 11:47:19 +00:00
Toshi MARUYAMA 77710ece26 attachment: use repositories setting to convert contents character encoding (#2371)
This commit results replacing invalid encoding instead to stripping.

git-svn-id: svn+ssh://rubyforge.org/var/svn/redmine/trunk@7866 e93f8b46-1217-0410-a6f0-8f06a7374b81
2011-11-20 11:46:52 +00:00
Jean-Philippe Lang e39d7a0ca8 Fixed: TMail 1.2.7 malforms To header when number of recipients more then 8 (#8751).
git-svn-id: svn+ssh://rubyforge.org/var/svn/redmine/trunk@7863 e93f8b46-1217-0410-a6f0-8f06a7374b81
2011-11-20 09:32:42 +00:00
Toshi MARUYAMA e7a043c551 code layout clean up test/functional/attachments_controller_test.rb
git-svn-id: svn+ssh://rubyforge.org/var/svn/redmine/trunk@7862 e93f8b46-1217-0410-a6f0-8f06a7374b81
2011-11-20 07:54:36 +00:00
Toshi MARUYAMA 00f9581380 attachment: update functional tests to switch "side by side" and "inline" for patches (#9612)
git-svn-id: svn+ssh://rubyforge.org/var/svn/redmine/trunk@7861 e93f8b46-1217-0410-a6f0-8f06a7374b81
2011-11-20 06:13:48 +00:00
Toshi MARUYAMA 66d6d611ba code layout clean up uploaded_test_file of test/test_helper.rb
git-svn-id: svn+ssh://rubyforge.org/var/svn/redmine/trunk@7855 e93f8b46-1217-0410-a6f0-8f06a7374b81
2011-11-20 00:09:49 +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
Jean-Philippe Lang 9430f05e2e Fixed functional tests that writes in fixtures folder.
git-svn-id: svn+ssh://rubyforge.org/var/svn/redmine/trunk@7848 e93f8b46-1217-0410-a6f0-8f06a7374b81
2011-11-19 15:18:06 +00:00
Jean-Philippe Lang e4cda67cf4 Fixed: Issue filter by assigned_to_role is not project specific (#9540).
git-svn-id: svn+ssh://rubyforge.org/var/svn/redmine/trunk@7847 e93f8b46-1217-0410-a6f0-8f06a7374b81
2011-11-19 15:11:20 +00:00
Jean-Philippe Lang 8ec1231dbc Makes author column sortable and groupable on the issue list (#1567).
git-svn-id: svn+ssh://rubyforge.org/var/svn/redmine/trunk@7843 e93f8b46-1217-0410-a6f0-8f06a7374b81
2011-11-19 12:47:56 +00:00
Jean-Philippe Lang bf18ee107d Moved the project name after the item in the html title (#9593).
git-svn-id: svn+ssh://rubyforge.org/var/svn/redmine/trunk@7842 e93f8b46-1217-0410-a6f0-8f06a7374b81
2011-11-19 11:43:11 +00:00
Jean-Philippe Lang 12d05431c2 Adds a way to filter issues with or without start date (#9607).
git-svn-id: svn+ssh://rubyforge.org/var/svn/redmine/trunk@7841 e93f8b46-1217-0410-a6f0-8f06a7374b81
2011-11-19 11:25:36 +00:00
Jean-Philippe Lang 9ac86d4f4e Wiki links for news and forums (#9600).
git-svn-id: svn+ssh://rubyforge.org/var/svn/redmine/trunk@7840 e93f8b46-1217-0410-a6f0-8f06a7374b81
2011-11-19 11:16:23 +00:00
Jean-Philippe Lang b3b2eb3e50 Fixes section edit links when text includes pre/code tag (#2222).
git-svn-id: svn+ssh://rubyforge.org/var/svn/redmine/trunk@7835 e93f8b46-1217-0410-a6f0-8f06a7374b81
2011-11-18 18:22:41 +00:00
Jean-Philippe Lang 1e8a9da131 Handle the case of a text formatter that doesn't support section edit (#2222).
git-svn-id: svn+ssh://rubyforge.org/var/svn/redmine/trunk@7831 e93f8b46-1217-0410-a6f0-8f06a7374b81
2011-11-18 16:41:54 +00:00
Jean-Philippe Lang 6fc245327c Wiki: allows single section edit (#2222).
git-svn-id: svn+ssh://rubyforge.org/var/svn/redmine/trunk@7829 e93f8b46-1217-0410-a6f0-8f06a7374b81
2011-11-18 16:25:00 +00:00
Toshi MARUYAMA b38dc9a301 move repositories helper to_utf8 tests to new CodesetUtilTest (#2371)
git-svn-id: svn+ssh://rubyforge.org/var/svn/redmine/trunk@7828 e93f8b46-1217-0410-a6f0-8f06a7374b81
2011-11-18 14:57:58 +00:00
Toshi MARUYAMA fdf6e8547b attachment: add a functional test to show invalid UTF-8 text file (#2371)
Stripping invalid UTF-8 is Redmine 1.2 behaviour.

git-svn-id: svn+ssh://rubyforge.org/var/svn/redmine/trunk@7824 e93f8b46-1217-0410-a6f0-8f06a7374b81
2011-11-17 07:01:40 +00:00
Toshi MARUYAMA 67bc801abc attachment: add a functional test to show UTF-8 text file (#2371)
git-svn-id: svn+ssh://rubyforge.org/var/svn/redmine/trunk@7823 e93f8b46-1217-0410-a6f0-8f06a7374b81
2011-11-17 07:00:30 +00:00
Toshi MARUYAMA eb498a86ac fix malformed issues csv encoding in case of unable to convert (#8549)
git-svn-id: svn+ssh://rubyforge.org/var/svn/redmine/trunk@7822 e93f8b46-1217-0410-a6f0-8f06a7374b81
2011-11-16 15:36:26 +00:00
Toshi MARUYAMA dde0de8cc5 add functional test to export issue csv encoded in Big5 on Traditional Chinese locale (#8549)
git-svn-id: svn+ssh://rubyforge.org/var/svn/redmine/trunk@7821 e93f8b46-1217-0410-a6f0-8f06a7374b81
2011-11-16 13:49:40 +00:00
Toshi MARUYAMA 4a3581c748 fix malformed time entry report csv encoding in case of unable to convert (#8549)
git-svn-id: svn+ssh://rubyforge.org/var/svn/redmine/trunk@7820 e93f8b46-1217-0410-a6f0-8f06a7374b81
2011-11-16 08:29:18 +00:00
Toshi MARUYAMA 4b5d50e40a fix malformed time log csv encoding in case of unable to convert (#8549)
git-svn-id: svn+ssh://rubyforge.org/var/svn/redmine/trunk@7819 e93f8b46-1217-0410-a6f0-8f06a7374b81
2011-11-16 08:10:53 +00:00
Toshi MARUYAMA 8433bbab69 move iconv from utf8 logic from pdf to lib/redmine/codeset_util.rb for common use (#8549)
git-svn-id: svn+ssh://rubyforge.org/var/svn/redmine/trunk@7818 e93f8b46-1217-0410-a6f0-8f06a7374b81
2011-11-16 05:07:16 +00:00
Toshi MARUYAMA d2811171fd code layout clean up test/functional/attachments_controller_test.rb
git-svn-id: svn+ssh://rubyforge.org/var/svn/redmine/trunk@7817 e93f8b46-1217-0410-a6f0-8f06a7374b81
2011-11-16 03:58:42 +00:00
Jean-Philippe Lang 594074d91b Fixed: Deleting a subtasks doesn't update parent's rgt & lft values, introduced by r5286 (#9577).
git-svn-id: svn+ssh://rubyforge.org/var/svn/redmine/trunk@7814 e93f8b46-1217-0410-a6f0-8f06a7374b81
2011-11-15 19:55:21 +00:00
Toshi MARUYAMA 36afbc41b6 add functional test to export time log csv encoded in Big5 on Traditional Chinese locale (#8549)
git-svn-id: svn+ssh://rubyforge.org/var/svn/redmine/trunk@7812 e93f8b46-1217-0410-a6f0-8f06a7374b81
2011-11-15 10:06:01 +00:00
Toshi MARUYAMA 95ef931048 add functional test to export time entry report csv encoded in Big5 on Traditional Chinese locale (#8549)
git-svn-id: svn+ssh://rubyforge.org/var/svn/redmine/trunk@7811 e93f8b46-1217-0410-a6f0-8f06a7374b81
2011-11-15 06:06:47 +00:00
Jean-Philippe Lang 7afb775286 Additional tests for email From header (#9564).
git-svn-id: svn+ssh://rubyforge.org/var/svn/redmine/trunk@7807 e93f8b46-1217-0410-a6f0-8f06a7374b81
2011-11-14 20:10:06 +00:00
Jean-Philippe Lang f953426935 Replaced non standard Precedence email header with "X-Auto-Response-Suppress: OOF" (#9534).
git-svn-id: svn+ssh://rubyforge.org/var/svn/redmine/trunk@7805 e93f8b46-1217-0410-a6f0-8f06a7374b81
2011-11-13 16:30:35 +00:00
Jean-Philippe Lang b170a40ed4 Adds a method to clear the settings cache.
git-svn-id: svn+ssh://rubyforge.org/var/svn/redmine/trunk@7804 e93f8b46-1217-0410-a6f0-8f06a7374b81
2011-11-13 15:20:31 +00:00
Toshi MARUYAMA c54b33ddca Ruby 1.9: fix tests error due to require path at test/test_helper.rb
Following error raises.

<pre>
/home/xxxxxx/.rvm/gems/ruby-1.9.2-p290/gems/rails-2.3.11/lib/rails/gem_dependency.rb:277:in `==':
   undefined method `name' for "actionmailer":String (NoMethodError)
...
	from /REDMINE-1/hg-workdir/redmine-bb-all/test/test_helper.rb:19:in `<top (required)>'
	from <internal:lib/rubygems/custom_require>:29:in `require'
	from <internal:lib/rubygems/custom_require>:29:in `require'
	from test/unit/changeset_test.rb:20:in `<main>'
</pre>

Moreover, in order to run tests on Ruby 1.9.2, Rails needs to be 2.3.14.

git-svn-id: svn+ssh://rubyforge.org/var/svn/redmine/trunk@7802 e93f8b46-1217-0410-a6f0-8f06a7374b81
2011-11-13 11:47:08 +00:00
Toshi MARUYAMA e1d71c7968 code layout clean up test_report_csv_export of test/functional/time_entry_reports_controller_test.rb
git-svn-id: svn+ssh://rubyforge.org/var/svn/redmine/trunk@7784 e93f8b46-1217-0410-a6f0-8f06a7374b81
2011-11-12 08:35:12 +00:00
Toshi MARUYAMA b560927d45 code layout clean up test_report_all_projects_csv_export of test/functional/time_entry_reports_controller_test.rb
git-svn-id: svn+ssh://rubyforge.org/var/svn/redmine/trunk@7783 e93f8b46-1217-0410-a6f0-8f06a7374b81
2011-11-12 08:34:49 +00:00
Jean-Philippe Lang 3da92d7da7 Fixed: copied private queries not visible after project copy (#9520).
git-svn-id: svn+ssh://rubyforge.org/var/svn/redmine/trunk@7782 e93f8b46-1217-0410-a6f0-8f06a7374b81
2011-11-11 17:33:02 +00:00
Jean-Philippe Lang e9f9927534 Fixed: Error when reading ciphered text from the database without cipher key configured (#9552).
git-svn-id: svn+ssh://rubyforge.org/var/svn/redmine/trunk@7780 e93f8b46-1217-0410-a6f0-8f06a7374b81
2011-11-11 14:04:33 +00:00
Jean-Philippe Lang 981a6223e4 Custom date field accepts invalid dates (#9394).
git-svn-id: svn+ssh://rubyforge.org/var/svn/redmine/trunk@7779 e93f8b46-1217-0410-a6f0-8f06a7374b81
2011-11-11 13:22:57 +00:00
Jean-Philippe Lang a9fb345f96 Fixed failure introduced in r7772 (#8615).
git-svn-id: svn+ssh://rubyforge.org/var/svn/redmine/trunk@7774 e93f8b46-1217-0410-a6f0-8f06a7374b81
2011-11-11 12:43:05 +00:00
Jean-Philippe Lang 5b37920cce Fixed: Custom 'version' field don't show shared versions (#8615).
git-svn-id: svn+ssh://rubyforge.org/var/svn/redmine/trunk@7772 e93f8b46-1217-0410-a6f0-8f06a7374b81
2011-11-11 12:32:21 +00:00
Jean-Philippe Lang 857cf5db38 Fixed: User with groups may not see issues assigned to him or to its groups (#9478).
git-svn-id: svn+ssh://rubyforge.org/var/svn/redmine/trunk@7771 e93f8b46-1217-0410-a6f0-8f06a7374b81
2011-11-11 12:22:47 +00:00
Toshi MARUYAMA a920184c83 code layout clean up test/functional/time_entry_reports_controller_test.rb
git-svn-id: svn+ssh://rubyforge.org/var/svn/redmine/trunk@7764 e93f8b46-1217-0410-a6f0-8f06a7374b81
2011-11-10 23:48:58 +00:00
Toshi MARUYAMA 41bf0a74a5 code layout clean up test/functional/timelog_controller_test.rb
git-svn-id: svn+ssh://rubyforge.org/var/svn/redmine/trunk@7762 e93f8b46-1217-0410-a6f0-8f06a7374b81
2011-11-10 13:44:36 +00:00
Toshi MARUYAMA 3758328d60 test: functional: wiki: add tests to show pdf (#401)
git-svn-id: svn+ssh://rubyforge.org/var/svn/redmine/trunk@7742 e93f8b46-1217-0410-a6f0-8f06a7374b81
2011-11-06 10:50:05 +00:00
Toshi MARUYAMA 0921042bc4 test: functional: wiki: add tests to show html and txt (#401)
git-svn-id: svn+ssh://rubyforge.org/var/svn/redmine/trunk@7739 e93f8b46-1217-0410-a6f0-8f06a7374b81
2011-11-06 10:47:45 +00:00
Toshi MARUYAMA fe386fe50d code layout clean up of test/functional/wiki_controller_test.rb
git-svn-id: svn+ssh://rubyforge.org/var/svn/redmine/trunk@7738 e93f8b46-1217-0410-a6f0-8f06a7374b81
2011-11-06 09:17:10 +00:00
Etienne Massip 269014ced8 Added an administration setting to allow issue start date to be defaulted to blank (nil) at issue creation (#2269).
Based on the patch of #2277 contributed by Mischa The Evil.

git-svn-id: svn+ssh://rubyforge.org/var/svn/redmine/trunk@7733 e93f8b46-1217-0410-a6f0-8f06a7374b81
2011-11-05 18:40:33 +00:00
Toshi MARUYAMA 4ae7f82f3a do not annotate text files which exceed the size limit for viewing (#9484)
Contributed by Antonio García-Domínguez.

git-svn-id: svn+ssh://rubyforge.org/var/svn/redmine/trunk@7728 e93f8b46-1217-0410-a6f0-8f06a7374b81
2011-11-05 03:47:03 +00:00
Toshi MARUYAMA e1f3719634 scm: git: test: model: fix failing test_parents on PostgreSQL (#5501)
git-svn-id: svn+ssh://rubyforge.org/var/svn/redmine/trunk@7720 e93f8b46-1217-0410-a6f0-8f06a7374b81
2011-11-03 09:58:38 +00:00
Toshi MARUYAMA 4a5a4bad97 scm: mercurial: test: model: fix failing test_parents on PostgreSQL (#5501)
git-svn-id: svn+ssh://rubyforge.org/var/svn/redmine/trunk@7719 e93f8b46-1217-0410-a6f0-8f06a7374b81
2011-11-03 09:58:07 +00:00
Toshi MARUYAMA 9129d116b2 scm: mercurial: test: model: add test of parents (#5501)
git-svn-id: svn+ssh://rubyforge.org/var/svn/redmine/trunk@7714 e93f8b46-1217-0410-a6f0-8f06a7374b81
2011-11-03 08:03:38 +00:00
Toshi MARUYAMA e0f7acaf61 scm: git: test: model: add test of parents (#5501)
git-svn-id: svn+ssh://rubyforge.org/var/svn/redmine/trunk@7712 e93f8b46-1217-0410-a6f0-8f06a7374b81
2011-11-03 08:02:53 +00:00
Toshi MARUYAMA e300188982 add unit test of escaping image urls (#9245)
Contributed by Holger Just.

git-svn-id: svn+ssh://rubyforge.org/var/svn/redmine/trunk@7707 e93f8b46-1217-0410-a6f0-8f06a7374b81
2011-11-02 07:35:51 +00:00
Etienne Massip 1032210edd Don't escape already parsed wiki link title (#9471).
git-svn-id: svn+ssh://rubyforge.org/var/svn/redmine/trunk@7698 e93f8b46-1217-0410-a6f0-8f06a7374b81
2011-10-29 11:45:59 +00:00
Toshi MARUYAMA 2b4549b3ea scm: mercurial: test: lib: update branches test for Branch class (#5501)
git-svn-id: svn+ssh://rubyforge.org/var/svn/redmine/trunk@7674 e93f8b46-1217-0410-a6f0-8f06a7374b81
2011-10-28 05:19:58 +00:00
Toshi MARUYAMA daae07f47c scm: git: test: lib: update branches test for Branch class (#5501)
git-svn-id: svn+ssh://rubyforge.org/var/svn/redmine/trunk@7672 e93f8b46-1217-0410-a6f0-8f06a7374b81
2011-10-28 05:18:28 +00:00
Toshi MARUYAMA 9ff5c7034d scm: git: test: add test of parents to unit lib test (#5501)
git-svn-id: svn+ssh://rubyforge.org/var/svn/redmine/trunk@7669 e93f8b46-1217-0410-a6f0-8f06a7374b81
2011-10-28 04:59:06 +00:00
Toshi MARUYAMA 613a056ed6 scm: mercurial: test: add test of parents to unit lib test (#5501)
git-svn-id: svn+ssh://rubyforge.org/var/svn/redmine/trunk@7667 e93f8b46-1217-0410-a6f0-8f06a7374b81
2011-10-28 04:57:43 +00:00
Toshi MARUYAMA 476c3d54b7 scm: mercurial: update test repository (#5501)
This test repository has one merged revision.

git-svn-id: svn+ssh://rubyforge.org/var/svn/redmine/trunk@7662 e93f8b46-1217-0410-a6f0-8f06a7374b81
2011-10-28 01:44:12 +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
Toshi MARUYAMA 520a8e6f15 scm: mercurial: use NUM_REV instead of hard-coded number of revisions at "test_fetch_changesets_incremental" of unit model test
git-svn-id: svn+ssh://rubyforge.org/var/svn/redmine/trunk@7652 e93f8b46-1217-0410-a6f0-8f06a7374b81
2011-10-25 10:27:42 +00:00
Toshi MARUYAMA 81ef038587 scm: mercurial: drop supporting below Mercurial 1.1 (#9465)
On November 1st 2011, Mercurial 2.0 will be released.

On Mercurial 1.1.2, unit lib test fails with following error.

<pre>
Traceback (most recent call last):
  File "/WEB-DOWN/hg-repo/hg-crew/hg", line 20, in <module>
    mercurial.dispatch.run()
  File "/WEB-DOWN/hg-repo/hg-crew/mercurial/dispatch.py", line 20, in run
    sys.exit(dispatch(sys.argv[1:]))
  File "/WEB-DOWN/hg-repo/hg-crew/mercurial/dispatch.py", line 29, in dispatch
    return _runcatch(u, args)
  File "/WEB-DOWN/hg-repo/hg-crew/mercurial/dispatch.py", line 45, in _runcatch
    return _dispatch(ui, args)
  File "/WEB-DOWN/hg-repo/hg-crew/mercurial/dispatch.py", line 367, in _dispatch
    ret = _runcommand(ui, options, cmd, d)
  File "/WEB-DOWN/hg-repo/hg-crew/mercurial/dispatch.py", line 416, in _runcommand
    return checkargs()
  File "/WEB-DOWN/hg-repo/hg-crew/mercurial/dispatch.py", line 376, in checkargs
    return cmdfunc()
  File "/WEB-DOWN/hg-repo/hg-crew/mercurial/dispatch.py", line 361, in <lambda>
    d = lambda: util.checksignature(func)(ui, *args, **cmdoptions)
  File "/WEB-DOWN/hg-repo/hg-crew/mercurial/util.py", line 715, in check
    return func(*args, **kwargs)
  File "/REDMINE-1/hg-workdir/redmine-bb-all/lib/redmine/scm/adapters/mercurial/redminehelper.py", line 149, in rhlog
    if hg.util.version() >= '1.6':
AttributeError: 'module' object has no attribute 'version'

  1) Error:
test_nodes_in_branch(MercurialAdapterTest):
Redmine::Scm::Adapters::MercurialAdapter::HgCommandAborted: hg exited with non-zero status: 1
    lib/redmine/scm/adapters/mercurial_adapter.rb:306:in `hg'
    lib/redmine/scm/adapters/mercurial_adapter.rb:234:in `nodes_in_branch'
    test/unit/lib/redmine/scm/adapters/mercurial_adapter_test.rb:311:in `test_nodes_in_branch'
    test/unit/lib/redmine/scm/adapters/mercurial_adapter_test.rb:304:in `each'
    test/unit/lib/redmine/scm/adapters/mercurial_adapter_test.rb:304:in `test_nodes_in_branch'
</pre>

git-svn-id: svn+ssh://rubyforge.org/var/svn/redmine/trunk@7650 e93f8b46-1217-0410-a6f0-8f06a7374b81
2011-10-25 06:10:12 +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
Toshi MARUYAMA 3a62c30f24 scm: mercurial: skip failing unit model tests on below Mercurial 1.5 (#9465)
Tests of non ASCII nor alphabetic nor numeric *named branch* fails on below Mercurial 1.5.

git-svn-id: svn+ssh://rubyforge.org/var/svn/redmine/trunk@7643 e93f8b46-1217-0410-a6f0-8f06a7374b81
2011-10-24 09:33:03 +00:00
Toshi MARUYAMA 74cbbd38d0 scm: mercurial: skip failing unit lib tests on below Mercurial 1.5 (#9465)
Tests of non ASCII nor alphabetic nor numeric *named branch* fails on below Mercurial 1.5.

git-svn-id: svn+ssh://rubyforge.org/var/svn/redmine/trunk@7642 e93f8b46-1217-0410-a6f0-8f06a7374b81
2011-10-24 09:32:38 +00:00
Etienne Massip 4eed0dca15 Reverted r7628.
git-svn-id: svn+ssh://rubyforge.org/var/svn/redmine/trunk@7629 e93f8b46-1217-0410-a6f0-8f06a7374b81
2011-10-18 21:19:58 +00:00
Etienne Massip 33f65c5a48 Filter out illegal values to prevent raise of PostgreSQL exceptions, restored last test part removed with r7625 (#8371).
git-svn-id: svn+ssh://rubyforge.org/var/svn/redmine/trunk@7628 e93f8b46-1217-0410-a6f0-8f06a7374b81
2011-10-18 17:51:21 +00:00
Etienne Massip 78a8757846 Restored valid test part removed with r7625 (#8371).
git-svn-id: svn+ssh://rubyforge.org/var/svn/redmine/trunk@7627 e93f8b46-1217-0410-a6f0-8f06a7374b81
2011-10-13 06:42:08 +00:00
Etienne Massip 0a67ae2ddb Removed debugging purpose command.
git-svn-id: svn+ssh://rubyforge.org/var/svn/redmine/trunk@7626 e93f8b46-1217-0410-a6f0-8f06a7374b81
2011-10-13 06:19:20 +00:00
Etienne Massip 9ba1e19ec7 Removed test part failing with PostgreSQL (#8371).
git-svn-id: svn+ssh://rubyforge.org/var/svn/redmine/trunk@7625 e93f8b46-1217-0410-a6f0-8f06a7374b81
2011-10-13 06:18:42 +00:00
Etienne Massip a118c4ccb0 Fixed shot filter expression parsing depending upon field operators (#8371).
git-svn-id: svn+ssh://rubyforge.org/var/svn/redmine/trunk@7624 e93f8b46-1217-0410-a6f0-8f06a7374b81
2011-10-12 23:45:47 +00:00
Etienne Massip 8e1cf61d86 Fix failing test (#4264).
git-svn-id: svn+ssh://rubyforge.org/var/svn/redmine/trunk@7621 e93f8b46-1217-0410-a6f0-8f06a7374b81
2011-10-08 13:47:25 +00:00
Etienne Massip d1efb4f148 Update CodeRay version to 1.0 final (#4264).
git-svn-id: svn+ssh://rubyforge.org/var/svn/redmine/trunk@7618 e93f8b46-1217-0410-a6f0-8f06a7374b81
2011-10-08 13:34:30 +00:00
Toshi MARUYAMA 6ebb5e834c Rails3: test: replace deprecated errors.on at test_moving_an_issue_to_a_descendant_should_not_validate of unit/issue_nested_set_test.rb
git-svn-id: svn+ssh://rubyforge.org/var/svn/redmine/trunk@7617 e93f8b46-1217-0410-a6f0-8f06a7374b81
2011-10-07 23:54:27 +00:00
Toshi MARUYAMA 3914a27155 Rails3: test: replace deprecated errors.on at "fail with unauthorized parent_id" of functional/projects_controller_test.rb
git-svn-id: svn+ssh://rubyforge.org/var/svn/redmine/trunk@7615 e93f8b46-1217-0410-a6f0-8f06a7374b81
2011-10-07 14:11:41 +00:00
Toshi MARUYAMA dba6341031 Rails3: test: replace deprecated errors.on at "fail without parent_id" of functional/projects_controller_test.rb
git-svn-id: svn+ssh://rubyforge.org/var/svn/redmine/trunk@7614 e93f8b46-1217-0410-a6f0-8f06a7374b81
2011-10-07 14:11:06 +00:00
Toshi MARUYAMA d66aceb751 Rails3: test: replace deprecated errors.on at "fail with parent_id" of functional/projects_controller_test.rb
git-svn-id: svn+ssh://rubyforge.org/var/svn/redmine/trunk@7613 e93f8b46-1217-0410-a6f0-8f06a7374b81
2011-10-07 14:10:37 +00:00
Toshi MARUYAMA 8dc797e19d Rails3: test: replace deprecated errors.on at test_update_issue_with_required_custom_field_change of unit/time_entry_activity_test.rb
git-svn-id: svn+ssh://rubyforge.org/var/svn/redmine/trunk@7612 e93f8b46-1217-0410-a6f0-8f06a7374b81
2011-10-07 14:10:05 +00:00
Toshi MARUYAMA e911d46aa8 Rails3: test: replace deprecated errors.on_base at test_should_not_be_able_to_reopen_an_issue_assigned_to_a_closed_version of unit/issue_test.rb
git-svn-id: svn+ssh://rubyforge.org/var/svn/redmine/trunk@7611 e93f8b46-1217-0410-a6f0-8f06a7374b81
2011-10-07 13:07:55 +00:00
Toshi MARUYAMA 0f189ec010 Rails3: test: replace deprecated errors.on at test_should_not_be_able_to_assign_a_new_issue_to_a_locked_version of unit/issue_test.rb
git-svn-id: svn+ssh://rubyforge.org/var/svn/redmine/trunk@7610 e93f8b46-1217-0410-a6f0-8f06a7374b81
2011-10-07 13:07:21 +00:00
Toshi MARUYAMA faff6c9898 Rails3: test: replace deprecated errors.on at test_should_not_be_able_to_assign_a_new_issue_to_a_closed_version of unit/issue_test.rb
git-svn-id: svn+ssh://rubyforge.org/var/svn/redmine/trunk@7609 e93f8b46-1217-0410-a6f0-8f06a7374b81
2011-10-07 13:06:54 +00:00
Toshi MARUYAMA 9f7690873a code layout clean up of test_visible_scope_for_anonymous_with_own_issues_visibility at test/unit/issue_test.rb
git-svn-id: svn+ssh://rubyforge.org/var/svn/redmine/trunk@7606 e93f8b46-1217-0410-a6f0-8f06a7374b81
2011-10-07 12:24:29 +00:00
Toshi MARUYAMA 925e11ed16 code layout clean up of test_errors_full_messages_should_include_custom_fields_errors at test/unit/issue_test.rb
git-svn-id: svn+ssh://rubyforge.org/var/svn/redmine/trunk@7605 e93f8b46-1217-0410-a6f0-8f06a7374b81
2011-10-07 12:24:01 +00:00
Toshi MARUYAMA 51d647ecb7 Rails3: test: replace deprecated errors.on at test_should_not_set_a_disabled_tracker of unit/issue_test.rb
git-svn-id: svn+ssh://rubyforge.org/var/svn/redmine/trunk@7604 e93f8b46-1217-0410-a6f0-8f06a7374b81
2011-10-07 12:23:37 +00:00
Toshi MARUYAMA d3fa89b42c code layout clean up of test_set_issue_to_dates_without_issue_to at test/unit/issue_relation_test.rb
git-svn-id: svn+ssh://rubyforge.org/var/svn/redmine/trunk@7603 e93f8b46-1217-0410-a6f0-8f06a7374b81
2011-10-07 12:23:09 +00:00
Toshi MARUYAMA 864d6d2880 code layout clean up of test_relation_type_for at test/unit/issue_relation_test.rb
git-svn-id: svn+ssh://rubyforge.org/var/svn/redmine/trunk@7602 e93f8b46-1217-0410-a6f0-8f06a7374b81
2011-10-07 12:22:43 +00:00
Toshi MARUYAMA 33349c93db code layout clean up of test_follows_relation_should_not_be_reversed_if_validation_fails at test/unit/issue_relation_test.rb
git-svn-id: svn+ssh://rubyforge.org/var/svn/redmine/trunk@7601 e93f8b46-1217-0410-a6f0-8f06a7374b81
2011-10-07 12:22:07 +00:00
Toshi MARUYAMA ce7bd36a20 code layout clean up of test_follows_relation_should_be_reversed at test/unit/issue_relation_test.rb
git-svn-id: svn+ssh://rubyforge.org/var/svn/redmine/trunk@7600 e93f8b46-1217-0410-a6f0-8f06a7374b81
2011-10-07 12:21:35 +00:00
Toshi MARUYAMA 64a6f9583f code layout clean up of test_create at test/unit/issue_relation_test.rb
git-svn-id: svn+ssh://rubyforge.org/var/svn/redmine/trunk@7599 e93f8b46-1217-0410-a6f0-8f06a7374b81
2011-10-07 12:20:59 +00:00
Toshi MARUYAMA 64c0bdb501 Rails3: test: replace deprecated errors.on at test_validates_circular_dependency_on_reverse_relations of unit/issue_relation_test.rb
git-svn-id: svn+ssh://rubyforge.org/var/svn/redmine/trunk@7598 e93f8b46-1217-0410-a6f0-8f06a7374b81
2011-10-07 12:20:30 +00:00
Toshi MARUYAMA 4dcb0ada8d Rails3: test: replace deprecated errors.on at test_validates_circular_dependency of unit/issue_relation_test.rb
git-svn-id: svn+ssh://rubyforge.org/var/svn/redmine/trunk@7597 e93f8b46-1217-0410-a6f0-8f06a7374b81
2011-10-07 12:19:40 +00:00
Toshi MARUYAMA ac19421a26 Rails3: test: replace deprecated errors.on at test_validate_identifier of unit/project_test.rb
git-svn-id: svn+ssh://rubyforge.org/var/svn/redmine/trunk@7596 e93f8b46-1217-0410-a6f0-8f06a7374b81
2011-10-07 04:18:18 +00:00
Toshi MARUYAMA 2d8ecebf9c code layout clean up of test/unit/issue_nested_set_test.rb
git-svn-id: svn+ssh://rubyforge.org/var/svn/redmine/trunk@7595 e93f8b46-1217-0410-a6f0-8f06a7374b81
2011-10-07 04:17:47 +00:00
Toshi MARUYAMA afad5ed9f0 Rails3: test: replace deprecated errors.on at test_creating_a_child_in_different_project_should_not_validate of unit/issue_nested_set_test.rb
git-svn-id: svn+ssh://rubyforge.org/var/svn/redmine/trunk@7594 e93f8b46-1217-0410-a6f0-8f06a7374b81
2011-10-07 04:17:14 +00:00
Toshi MARUYAMA c76b114e9e Rails3: test: replace deprecated errors.on at test_validate_mail_notification_inclusion of unit/user_test.rb
git-svn-id: svn+ssh://rubyforge.org/var/svn/redmine/trunk@7593 e93f8b46-1217-0410-a6f0-8f06a7374b81
2011-10-07 04:16:42 +00:00
Toshi MARUYAMA 5edabcd8b5 code layout clean up of test/unit/user_test.rb
git-svn-id: svn+ssh://rubyforge.org/var/svn/redmine/trunk@7592 e93f8b46-1217-0410-a6f0-8f06a7374b81
2011-10-07 04:16:03 +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 177906a75f remove hard-coded '.rxml' from 'test_show_atom' at functional issues controller test (#6317)
git-svn-id: svn+ssh://rubyforge.org/var/svn/redmine/trunk@7576 e93f8b46-1217-0410-a6f0-8f06a7374b81
2011-10-04 13:40:30 +00:00
Toshi MARUYAMA 43a31e2ca7 remove hard-coded '.rxml' from 'test_index_atom' at functional projects controller test (#6317)
git-svn-id: svn+ssh://rubyforge.org/var/svn/redmine/trunk@7574 e93f8b46-1217-0410-a6f0-8f06a7374b81
2011-10-04 11:08:24 +00:00
Etienne Massip 65b533a8ec Make sure that anchor names generated for headings fully match wiki links (#7215).
git-svn-id: svn+ssh://rubyforge.org/var/svn/redmine/trunk@7563 e93f8b46-1217-0410-a6f0-8f06a7374b81
2011-10-02 17:25:29 +00:00
Etienne Massip 8bb90f87fb Prepend page title to anchor in single page wiki HTML export to make links more unique.
git-svn-id: svn+ssh://rubyforge.org/var/svn/redmine/trunk@7562 e93f8b46-1217-0410-a6f0-8f06a7374b81
2011-10-02 15:57:17 +00:00
Etienne Massip ac2dbde135 Fix generation of blank local link when no title is specified in wiki link.
git-svn-id: svn+ssh://rubyforge.org/var/svn/redmine/trunk@7560 e93f8b46-1217-0410-a6f0-8f06a7374b81
2011-10-02 15:32:34 +00:00
Etienne Massip 1ee65e0469 Use local links in wiki pages when possible (#3276).
git-svn-id: svn+ssh://rubyforge.org/var/svn/redmine/trunk@7558 e93f8b46-1217-0410-a6f0-8f06a7374b81
2011-10-02 14:44:07 +00:00
Toshi MARUYAMA 8f362558b6 add unit message test of cannot reply to a locked topic
git-svn-id: svn+ssh://rubyforge.org/var/svn/redmine/trunk@7554 e93f8b46-1217-0410-a6f0-8f06a7374b81
2011-10-01 01:11:02 +00:00
Toshi MARUYAMA d817b063ec code layout clean up of test/unit/message_test.rb
git-svn-id: svn+ssh://rubyforge.org/var/svn/redmine/trunk@7553 e93f8b46-1217-0410-a6f0-8f06a7374b81
2011-10-01 01:10:18 +00:00
Toshi MARUYAMA 33d41583bb Rails3: test: template must be specified as controller/action not with their extension any more
Contributed by Sylvain Utard.

git-svn-id: svn+ssh://rubyforge.org/var/svn/redmine/trunk@7543 e93f8b46-1217-0410-a6f0-8f06a7374b81
2011-09-28 10:11:42 +00:00
Etienne Massip 98e18b2141 Allow project column to be removed from the global issue list columns (#8411).
git-svn-id: svn+ssh://rubyforge.org/var/svn/redmine/trunk@7538 e93f8b46-1217-0410-a6f0-8f06a7374b81
2011-09-26 17:44:20 +00:00
Toshi MARUYAMA 9c650540ba code layout clean up of test_preview_issue_notes at test/functional/previews_controller_test.rb
git-svn-id: svn+ssh://rubyforge.org/var/svn/redmine/trunk@7533 e93f8b46-1217-0410-a6f0-8f06a7374b81
2011-09-25 10:46:44 +00:00
Toshi MARUYAMA f21fd28917 code layout clean up of 'should "allow adding a note when copying"' at test/functional/issue_moves_controller_test.rb
git-svn-id: svn+ssh://rubyforge.org/var/svn/redmine/trunk@7532 e93f8b46-1217-0410-a6f0-8f06a7374b81
2011-09-25 10:46:20 +00:00
Toshi MARUYAMA c01d94203b code layout clean up of 'should "allow changing the issue's attributes"' at test/functional/issue_moves_controller_test.rb
git-svn-id: svn+ssh://rubyforge.org/var/svn/redmine/trunk@7531 e93f8b46-1217-0410-a6f0-8f06a7374b81
2011-09-25 10:45:56 +00:00
Toshi MARUYAMA 7e182848e5 code layout clean up of 'should "allow not changing the issue's attributes"' at test/functional/issue_moves_controller_test.rb
git-svn-id: svn+ssh://rubyforge.org/var/svn/redmine/trunk@7530 e93f8b46-1217-0410-a6f0-8f06a7374b81
2011-09-25 10:45:30 +00:00
Toshi MARUYAMA f2fd28a76c remove duplicate fixtures from test/functional/issue_moves_controller_test.rb
git-svn-id: svn+ssh://rubyforge.org/var/svn/redmine/trunk@7529 e93f8b46-1217-0410-a6f0-8f06a7374b81
2011-09-25 10:45:01 +00:00
Toshi MARUYAMA 440c2d0d2f remove duplicate fixtures from test/functional/files_controller_test.rb
git-svn-id: svn+ssh://rubyforge.org/var/svn/redmine/trunk@7528 e93f8b46-1217-0410-a6f0-8f06a7374b81
2011-09-25 10:44:35 +00:00
Toshi MARUYAMA ca7051aea9 remove duplicate fixtures from test/unit/member_test.rb
git-svn-id: svn+ssh://rubyforge.org/var/svn/redmine/trunk@7527 e93f8b46-1217-0410-a6f0-8f06a7374b81
2011-09-25 10:44:08 +00:00
Toshi MARUYAMA bdccb5d3d5 remove duplicate fixtures from test/functional/previews_controller_test.rb
git-svn-id: svn+ssh://rubyforge.org/var/svn/redmine/trunk@7526 e93f8b46-1217-0410-a6f0-8f06a7374b81
2011-09-25 10:43:40 +00:00
Toshi MARUYAMA 22f5219575 Rails3: replace "all" fixtures at test/functional/project_enumerations_controller_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@7525 e93f8b46-1217-0410-a6f0-8f06a7374b81
2011-09-25 06:15:32 +00:00
Toshi MARUYAMA 40992d71d1 Rails3: replace "all" fixtures at test/functional/gantts_controller_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@7524 e93f8b46-1217-0410-a6f0-8f06a7374b81
2011-09-25 06:14:51 +00:00
Toshi MARUYAMA 1d9de08cdc Rails3: replace "all" fixtures at test/functional/reports_controller_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@7523 e93f8b46-1217-0410-a6f0-8f06a7374b81
2011-09-25 06:14:07 +00:00
Toshi MARUYAMA 82c86513ad Rails3: replace "all" fixtures at test/functional/files_controller_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@7522 e93f8b46-1217-0410-a6f0-8f06a7374b81
2011-09-25 06:13:23 +00:00
Toshi MARUYAMA 131863857d Rails3: replace "all" fixtures at test/functional/issue_moves_controller_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@7521 e93f8b46-1217-0410-a6f0-8f06a7374b81
2011-09-25 06:12:45 +00:00
Toshi MARUYAMA bea3f11468 Rails3: replace "all" fixtures at test/functional/previews_controller_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@7520 e93f8b46-1217-0410-a6f0-8f06a7374b81
2011-09-25 06:12:10 +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 52027456de remove fixtures from test/functional/ldap_auth_sources_controller.rb
This test does not need fixtures.

git-svn-id: svn+ssh://rubyforge.org/var/svn/redmine/trunk@7514 e93f8b46-1217-0410-a6f0-8f06a7374b81
2011-09-25 04:55:47 +00:00
Toshi MARUYAMA 587d530ca1 replace 'require' at test/functional/ldap_auth_sources_controller.rb for running individually
git-svn-id: svn+ssh://rubyforge.org/var/svn/redmine/trunk@7513 e93f8b46-1217-0410-a6f0-8f06a7374b81
2011-09-25 04:55:00 +00:00
Toshi MARUYAMA 94a6068380 Rails3: replace "all" fixtures at test/unit/member_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@7512 e93f8b46-1217-0410-a6f0-8f06a7374b81
2011-09-25 04:54:14 +00:00
Toshi MARUYAMA eb1d9289e8 Rails3: replace "all" fixtures at test/unit/group_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@7511 e93f8b46-1217-0410-a6f0-8f06a7374b81
2011-09-25 04:53:04 +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 298405e9c8 Rails3: replace "all" fixtures at test/unit/project_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@7505 e93f8b46-1217-0410-a6f0-8f06a7374b81
2011-09-24 23:57:34 +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 211652002f code layout clean up of test_reply_posted_message_id at test/unit/mailer_test.rb
git-svn-id: svn+ssh://rubyforge.org/var/svn/redmine/trunk@7502 e93f8b46-1217-0410-a6f0-8f06a7374b81
2011-09-24 13:14:04 +00:00
Toshi MARUYAMA af3c96e0af code layout clean up of test_message_posted_message_id at test/unit/mailer_test.rb
git-svn-id: svn+ssh://rubyforge.org/var/svn/redmine/trunk@7501 e93f8b46-1217-0410-a6f0-8f06a7374b81
2011-09-24 13:13:21 +00:00
Toshi MARUYAMA 662474b0e6 code layout clean up of test_generated_links_with_prefix_and_no_relative_url_root at test/unit/mailer_test.rb
git-svn-id: svn+ssh://rubyforge.org/var/svn/redmine/trunk@7500 e93f8b46-1217-0410-a6f0-8f06a7374b81
2011-09-24 13:12:40 +00:00
Toshi MARUYAMA 000bdfbd6b code layout clean up of test_generated_links_with_prefix at test/unit/mailer_test.rb
git-svn-id: svn+ssh://rubyforge.org/var/svn/redmine/trunk@7499 e93f8b46-1217-0410-a6f0-8f06a7374b81
2011-09-24 13:11:56 +00:00
Toshi MARUYAMA b3c5f812c9 code layout clean up of test_generated_links_in_emails at test/unit/mailer_test.rb
git-svn-id: svn+ssh://rubyforge.org/var/svn/redmine/trunk@7498 e93f8b46-1217-0410-a6f0-8f06a7374b81
2011-09-24 11:11:03 +00:00
Toshi MARUYAMA fcdd35be6e Rails3: replace "all" fixtures at test/unit/mailer_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@7497 e93f8b46-1217-0410-a6f0-8f06a7374b81
2011-09-24 11:10:21 +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 d181e697ae Rails3: replace "all" fixtures at test/unit/helpers/issues_helper_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@7492 e93f8b46-1217-0410-a6f0-8f06a7374b81
2011-09-24 10:10:36 +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 b9d4e4dd67 Rails3: replace "all" fixtures at test/functional/calendars_controller_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@7490 e93f8b46-1217-0410-a6f0-8f06a7374b81
2011-09-24 07:08:20 +00:00
Toshi MARUYAMA ceb4a6f3fb Rails3: replace "all" fixtures at test/functional/context_menus_controller_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@7489 e93f8b46-1217-0410-a6f0-8f06a7374b81
2011-09-24 07:07:35 +00:00
Toshi MARUYAMA 7b82102e83 Rails3: replace "all" fixtures at test/functional/auto_completes_controller_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@7488 e93f8b46-1217-0410-a6f0-8f06a7374b81
2011-09-24 07:07:01 +00:00
Toshi MARUYAMA 6f6c519d0c remove fixtures from test/functional/auth_sources_controller_test.rb
This test does not need fixtures.

git-svn-id: svn+ssh://rubyforge.org/var/svn/redmine/trunk@7487 e93f8b46-1217-0410-a6f0-8f06a7374b81
2011-09-24 04:20:49 +00:00
Toshi MARUYAMA aeca1c20c4 Rails3: replace "all" fixtures at test/functional/activities_controller_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@7486 e93f8b46-1217-0410-a6f0-8f06a7374b81
2011-09-24 04:20:08 +00:00
Toshi MARUYAMA 0f160628f6 remove hard-coded '.rxml' from "test_index_atom_feed" of functional activities controller test (#6317)
git-svn-id: svn+ssh://rubyforge.org/var/svn/redmine/trunk@7485 e93f8b46-1217-0410-a6f0-8f06a7374b81
2011-09-24 04:19:26 +00:00
Toshi MARUYAMA 12813cd6ab Rails3: replace "all" fixtures at test/unit/helpers/projects_helper_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@7483 e93f8b46-1217-0410-a6f0-8f06a7374b81
2011-09-23 23:57:36 +00:00
Toshi MARUYAMA a281752e4f code layout clean up of test_should_close_duplicates at test/unit/issue_test.rb
git-svn-id: svn+ssh://rubyforge.org/var/svn/redmine/trunk@7481 e93f8b46-1217-0410-a6f0-8f06a7374b81
2011-09-23 12:02:06 +00:00
Toshi MARUYAMA 96e56f52ad code layout clean up of test_should_not_close_duplicated_issue at test/unit/issue_test.rb
git-svn-id: svn+ssh://rubyforge.org/var/svn/redmine/trunk@7480 e93f8b46-1217-0410-a6f0-8f06a7374b81
2011-09-23 12:01:43 +00:00
Toshi MARUYAMA 06452ae8cf code layout clean up of test_create_should_send_email_notification at test/unit/issue_test.rb
git-svn-id: svn+ssh://rubyforge.org/var/svn/redmine/trunk@7479 e93f8b46-1217-0410-a6f0-8f06a7374b81
2011-09-23 12:01:19 +00:00
Toshi MARUYAMA 1d4cf3ecb6 code layout clean up of test_all_dependent_issues at test/unit/issue_test.rb
git-svn-id: svn+ssh://rubyforge.org/var/svn/redmine/trunk@7478 e93f8b46-1217-0410-a6f0-8f06a7374b81
2011-09-23 12:00:54 +00:00
Toshi MARUYAMA 3a7c4a0417 code layout clean up of test_create_with_group_assignment at test/unit/issue_test.rb
git-svn-id: svn+ssh://rubyforge.org/var/svn/redmine/trunk@7477 e93f8b46-1217-0410-a6f0-8f06a7374b81
2011-09-23 12:00:28 +00:00
Toshi MARUYAMA fa373ff7f3 code layout clean up of test_create at test/unit/issue_test.rb
git-svn-id: svn+ssh://rubyforge.org/var/svn/redmine/trunk@7476 e93f8b46-1217-0410-a6f0-8f06a7374b81
2011-09-23 11:59:58 +00:00
Toshi MARUYAMA 615540a12c code layout clean up of test_create_minimal at test/unit/issue_test.rb
git-svn-id: svn+ssh://rubyforge.org/var/svn/redmine/trunk@7475 e93f8b46-1217-0410-a6f0-8f06a7374b81
2011-09-23 11:59:32 +00:00
Toshi MARUYAMA d0ef8f25c4 code layout clean up of test_create_with_required_custom_field at test/unit/issue_test.rb
git-svn-id: svn+ssh://rubyforge.org/var/svn/redmine/trunk@7474 e93f8b46-1217-0410-a6f0-8f06a7374b81
2011-09-23 11:59:06 +00:00
Toshi MARUYAMA f7bdf375cd code layout clean up of test_errors_full_messages_should_include_custom_fields_errors at test/unit/issue_test.rb
git-svn-id: svn+ssh://rubyforge.org/var/svn/redmine/trunk@7473 e93f8b46-1217-0410-a6f0-8f06a7374b81
2011-09-23 11:58:39 +00:00
Toshi MARUYAMA d9a22bb7c3 code layout clean up of test_category_based_assignment at test/unit/issue_test.rb
git-svn-id: svn+ssh://rubyforge.org/var/svn/redmine/trunk@7472 e93f8b46-1217-0410-a6f0-8f06a7374b81
2011-09-23 11:58:12 +00:00
Toshi MARUYAMA 8af3c5a7db code layout clean up of test_all_dependent_issues_with_persistent_multiple_circular_dependencies at test/unit/issue_test.rb
git-svn-id: svn+ssh://rubyforge.org/var/svn/redmine/trunk@7462 e93f8b46-1217-0410-a6f0-8f06a7374b81
2011-09-23 06:17:18 +00:00
Toshi MARUYAMA 7a2f8588ee code layout clean up of test_all_dependent_issues_with_persistent_circular_dependency at test/unit/issue_test.rb
git-svn-id: svn+ssh://rubyforge.org/var/svn/redmine/trunk@7461 e93f8b46-1217-0410-a6f0-8f06a7374b81
2011-09-23 06:16:55 +00:00
Etienne Massip 189b316016 Cleanup test exemplars and fix subsequent @#generate@ calls generating same values (#7613).
git-svn-id: svn+ssh://rubyforge.org/var/svn/redmine/trunk@7458 e93f8b46-1217-0410-a6f0-8f06a7374b81
2011-09-22 20:51:42 +00:00
Toshi MARUYAMA 5778c26434 add unit test to set project if project is nil at unit time entry test
git-svn-id: svn+ssh://rubyforge.org/var/svn/redmine/trunk@7452 e93f8b46-1217-0410-a6f0-8f06a7374b81
2011-09-22 13:38:21 +00:00
Toshi MARUYAMA 34f2d382b7 add unit test to validate time entry
git-svn-id: svn+ssh://rubyforge.org/var/svn/redmine/trunk@7447 e93f8b46-1217-0410-a6f0-8f06a7374b81
2011-09-22 12:05:49 +00:00
Toshi MARUYAMA ab0ef83310 add missing fixtures at unit time entry test in running on empty database
git-svn-id: svn+ssh://rubyforge.org/var/svn/redmine/trunk@7446 e93f8b46-1217-0410-a6f0-8f06a7374b81
2011-09-22 12:05:10 +00:00
Toshi MARUYAMA cf8564987e add missing fixtures at unit user test in running on empty database
git-svn-id: svn+ssh://rubyforge.org/var/svn/redmine/trunk@7445 e93f8b46-1217-0410-a6f0-8f06a7374b81
2011-09-22 09:53:35 +00:00
Toshi MARUYAMA 8013244b06 more strict test to ensure single anonymous user at unit user test
git-svn-id: svn+ssh://rubyforge.org/var/svn/redmine/trunk@7444 e93f8b46-1217-0410-a6f0-8f06a7374b81
2011-09-22 09:53:11 +00:00
Toshi MARUYAMA c36408dd39 add test to ensure single anonymous user at unit user test
git-svn-id: svn+ssh://rubyforge.org/var/svn/redmine/trunk@7443 e93f8b46-1217-0410-a6f0-8f06a7374b81
2011-09-22 04:24:27 +00:00
Toshi MARUYAMA 80581538a1 add test of validate password length at unit user test
git-svn-id: svn+ssh://rubyforge.org/var/svn/redmine/trunk@7430 e93f8b46-1217-0410-a6f0-8f06a7374b81
2011-09-21 06:13:16 +00:00
Toshi MARUYAMA 85fe235b68 add missing "projects_trackers" fixture at unit query test in running on empty database
git-svn-id: svn+ssh://rubyforge.org/var/svn/redmine/trunk@7424 e93f8b46-1217-0410-a6f0-8f06a7374b81
2011-09-20 16:56:12 +00:00
Toshi MARUYAMA 51fced0c3d add new lines in fixtures at unit query test
git-svn-id: svn+ssh://rubyforge.org/var/svn/redmine/trunk@7423 e93f8b46-1217-0410-a6f0-8f06a7374b81
2011-09-20 16:55:27 +00:00
Toshi MARUYAMA e42b152011 scm: subversion: remove fetch_changesets from test_revision at functional test
This test uses fixtures. So, there is no need to fetch changesets.

git-svn-id: svn+ssh://rubyforge.org/var/svn/redmine/trunk@7216 e93f8b46-1217-0410-a6f0-8f06a7374b81
2011-09-12 14:57:19 +00:00
Toshi MARUYAMA 091d6de719 Rails3: scm: mercurial: fix error of test_empty_revision at functional test
On Rails 3.1, ActiveRecord::HasManyThroughCantAssociateThroughHasOneOrManyReflection error raises.
For more details, see r7062.

git-svn-id: svn+ssh://rubyforge.org/var/svn/redmine/trunk@7215 e93f8b46-1217-0410-a6f0-8f06a7374b81
2011-09-12 14:14:32 +00:00
Toshi MARUYAMA 780470aa0e Rails3: scm: mercurial: fix error of test_annotate_at_given_revision at functional test
On Rails 3.1, ActiveRecord::HasManyThroughCantAssociateThroughHasOneOrManyReflection error raises.
For more details, see r7062.

git-svn-id: svn+ssh://rubyforge.org/var/svn/redmine/trunk@7214 e93f8b46-1217-0410-a6f0-8f06a7374b81
2011-09-12 14:14:09 +00:00
Toshi MARUYAMA cb108f9c75 Rails3: scm: mercurial: fix error of test_annotate_not_in_tip at functional test
On Rails 3.1, ActiveRecord::HasManyThroughCantAssociateThroughHasOneOrManyReflection error raises.
For more details, see r7062.

git-svn-id: svn+ssh://rubyforge.org/var/svn/redmine/trunk@7213 e93f8b46-1217-0410-a6f0-8f06a7374b81
2011-09-12 14:13:47 +00:00
Toshi MARUYAMA d11bd80041 Rails3: scm: mercurial: fix error of test_diff_two_revs at functional test
On Rails 3.1, ActiveRecord::HasManyThroughCantAssociateThroughHasOneOrManyReflection error raises.
For more details, see r7062.

git-svn-id: svn+ssh://rubyforge.org/var/svn/redmine/trunk@7212 e93f8b46-1217-0410-a6f0-8f06a7374b81
2011-09-12 14:13:22 +00:00
Toshi MARUYAMA 321fac2668 Rails3: scm: mercurial: fix error of test_diff at functional test
On Rails 3.1, ActiveRecord::HasManyThroughCantAssociateThroughHasOneOrManyReflection error raises.
For more details, see r7062.

git-svn-id: svn+ssh://rubyforge.org/var/svn/redmine/trunk@7211 e93f8b46-1217-0410-a6f0-8f06a7374b81
2011-09-12 14:12:57 +00:00
Toshi MARUYAMA 1a32f541fc Rails3: scm: mercurial: fix error of test_show_tag at functional test
On Rails 3.1, ActiveRecord::HasManyThroughCantAssociateThroughHasOneOrManyReflection error raises.
For more details, see r7062.

git-svn-id: svn+ssh://rubyforge.org/var/svn/redmine/trunk@7210 e93f8b46-1217-0410-a6f0-8f06a7374b81
2011-09-12 14:12:32 +00:00
Toshi MARUYAMA 1e832322be Rails3: scm: mercurial: fix error of test_show_branch at functional test
On Rails 3.1, ActiveRecord::HasManyThroughCantAssociateThroughHasOneOrManyReflection error raises.
For more details, see r7062.

git-svn-id: svn+ssh://rubyforge.org/var/svn/redmine/trunk@7209 e93f8b46-1217-0410-a6f0-8f06a7374b81
2011-09-12 14:12:07 +00:00
Toshi MARUYAMA 93202a2012 Rails3: scm: mercurial: fix error of test_show_directory_latin_1_path at functional test
On Rails 3.1, ActiveRecord::HasManyThroughCantAssociateThroughHasOneOrManyReflection error raises.
For more details, see r7062.

git-svn-id: svn+ssh://rubyforge.org/var/svn/redmine/trunk@7208 e93f8b46-1217-0410-a6f0-8f06a7374b81
2011-09-12 14:11:40 +00:00
Toshi MARUYAMA 3d90ba833b Rails3: scm: mercurial: fix error of test_show_directory_sql_escape_percent at functional test
On Rails 3.1, ActiveRecord::HasManyThroughCantAssociateThroughHasOneOrManyReflection error raises.
For more details, see r7062.

git-svn-id: svn+ssh://rubyforge.org/var/svn/redmine/trunk@7207 e93f8b46-1217-0410-a6f0-8f06a7374b81
2011-09-12 14:11:14 +00:00
Toshi MARUYAMA 76738e5e54 Rails3: scm: mercurial: fix error of test_destroy_invalid_repository at functional test
On Rails 3.1, ActiveRecord::HasManyThroughCantAssociateThroughHasOneOrManyReflection error raises.
For more details, see r7062.

git-svn-id: svn+ssh://rubyforge.org/var/svn/redmine/trunk@7206 e93f8b46-1217-0410-a6f0-8f06a7374b81
2011-09-12 14:02:59 +00:00
Toshi MARUYAMA cf8a8720ce Rails3: scm: mercurial: fix error of test_destroy_valid_repository at functional test
On Rails 3.1, ActiveRecord::HasManyThroughCantAssociateThroughHasOneOrManyReflection error raises.
For more details, see r7062.

git-svn-id: svn+ssh://rubyforge.org/var/svn/redmine/trunk@7205 e93f8b46-1217-0410-a6f0-8f06a7374b81
2011-09-12 14:02:24 +00:00
Toshi MARUYAMA 887c27bb91 Rails3: scm: subversion: fix error of test_entry_download at functional test
On Rails 3.1, ActiveRecord::HasManyThroughCantAssociateThroughHasOneOrManyReflection error raises.
For more details, see r7062.

git-svn-id: svn+ssh://rubyforge.org/var/svn/redmine/trunk@7204 e93f8b46-1217-0410-a6f0-8f06a7374b81
2011-09-12 13:09:06 +00:00
Toshi MARUYAMA 640e7b2c82 Rails3: scm: subversion: fix error of test_entry_not_found at functional test
On Rails 3.1, ActiveRecord::HasManyThroughCantAssociateThroughHasOneOrManyReflection error raises.
For more details, see r7062.

git-svn-id: svn+ssh://rubyforge.org/var/svn/redmine/trunk@7203 e93f8b46-1217-0410-a6f0-8f06a7374b81
2011-09-12 13:08:42 +00:00
Toshi MARUYAMA 57b4c52d85 Rails3: scm: subversion: fix error of test_entry_at_given_revision at functional test
On Rails 3.1, ActiveRecord::HasManyThroughCantAssociateThroughHasOneOrManyReflection error raises.
For more details, see r7062.

git-svn-id: svn+ssh://rubyforge.org/var/svn/redmine/trunk@7202 e93f8b46-1217-0410-a6f0-8f06a7374b81
2011-09-12 13:08:19 +00:00
Toshi MARUYAMA 50c0856b9b Rails3: scm: subversion: fix error of test_entry_should_send_if_too_big at functional test
On Rails 3.1, ActiveRecord::HasManyThroughCantAssociateThroughHasOneOrManyReflection error raises.
For more details, see r7062.

git-svn-id: svn+ssh://rubyforge.org/var/svn/redmine/trunk@7201 e93f8b46-1217-0410-a6f0-8f06a7374b81
2011-09-12 13:07:55 +00:00
Toshi MARUYAMA ef997024a3 Rails3: scm: subversion: fix error of test_entry at functional test
On Rails 3.1, ActiveRecord::HasManyThroughCantAssociateThroughHasOneOrManyReflection error raises.
For more details, see r7062.

git-svn-id: svn+ssh://rubyforge.org/var/svn/redmine/trunk@7200 e93f8b46-1217-0410-a6f0-8f06a7374b81
2011-09-12 13:07:30 +00:00
Toshi MARUYAMA b90cc49ecb Rails3: scm: subversion: fix error of test_directory_changes at functional test
On Rails 3.1, ActiveRecord::HasManyThroughCantAssociateThroughHasOneOrManyReflection error raises.
For more details, see r7062.

git-svn-id: svn+ssh://rubyforge.org/var/svn/redmine/trunk@7199 e93f8b46-1217-0410-a6f0-8f06a7374b81
2011-09-12 13:07:05 +00:00
Toshi MARUYAMA 62a1e1dc50 Rails3: scm: subversion: fix error of test_file_changes at functional test
On Rails 3.1, ActiveRecord::HasManyThroughCantAssociateThroughHasOneOrManyReflection error raises.
For more details, see r7062.

git-svn-id: svn+ssh://rubyforge.org/var/svn/redmine/trunk@7198 e93f8b46-1217-0410-a6f0-8f06a7374b81
2011-09-12 13:06:38 +00:00
Toshi MARUYAMA 84fb59bca3 Rails3: scm: subversion: fix error of test_browse_at_given_revision at functional test
On Rails 3.1, ActiveRecord::HasManyThroughCantAssociateThroughHasOneOrManyReflection error raises.
For more details, see r7062.

git-svn-id: svn+ssh://rubyforge.org/var/svn/redmine/trunk@7197 e93f8b46-1217-0410-a6f0-8f06a7374b81
2011-09-12 13:06:13 +00:00
Toshi MARUYAMA 65ec0c7a5e Rails3: scm: subversion: fix error of test_browse_directory at functional test
On Rails 3.1, ActiveRecord::HasManyThroughCantAssociateThroughHasOneOrManyReflection error raises.
For more details, see r7062.

git-svn-id: svn+ssh://rubyforge.org/var/svn/redmine/trunk@7196 e93f8b46-1217-0410-a6f0-8f06a7374b81
2011-09-12 13:05:45 +00:00
Toshi MARUYAMA 89476adc7f Rails3: scm: subversion: fix error of test_browse_root at functional test
On Rails 3.1, ActiveRecord::HasManyThroughCantAssociateThroughHasOneOrManyReflection error raises.
For more details, see r7062.

git-svn-id: svn+ssh://rubyforge.org/var/svn/redmine/trunk@7195 e93f8b46-1217-0410-a6f0-8f06a7374b81
2011-09-12 13:05:14 +00:00
Toshi MARUYAMA 1788dc424a Rails3: scm: subversion: fix error of test_destroy_invalid_repository at functional test
On Rails 3.1, ActiveRecord::HasManyThroughCantAssociateThroughHasOneOrManyReflection error raises.
For more details, see r7062.

git-svn-id: svn+ssh://rubyforge.org/var/svn/redmine/trunk@7194 e93f8b46-1217-0410-a6f0-8f06a7374b81
2011-09-12 12:56:53 +00:00
Toshi MARUYAMA f2eb1c3e3f Rails3: scm: subversion: fix error of test_destroy_valid_repository at functional test
On Rails 3.1, ActiveRecord::HasManyThroughCantAssociateThroughHasOneOrManyReflection error raises.
For more details, see r7062.

git-svn-id: svn+ssh://rubyforge.org/var/svn/redmine/trunk@7193 e93f8b46-1217-0410-a6f0-8f06a7374b81
2011-09-12 12:56:28 +00:00
Toshi MARUYAMA 818395a995 Rails3: scm: subversion: fix error of test_annotate_at_given_revision at functional test
On Rails 3.1, ActiveRecord::HasManyThroughCantAssociateThroughHasOneOrManyReflection error raises.
For more details, see r7062.

git-svn-id: svn+ssh://rubyforge.org/var/svn/redmine/trunk@7192 e93f8b46-1217-0410-a6f0-8f06a7374b81
2011-09-12 12:55:48 +00:00
Toshi MARUYAMA 5adfea9708 Rails3: scm: subversion: fix error of test_annotate at functional test
On Rails 3.1, ActiveRecord::HasManyThroughCantAssociateThroughHasOneOrManyReflection error raises.
For more details, see r7062.

git-svn-id: svn+ssh://rubyforge.org/var/svn/redmine/trunk@7191 e93f8b46-1217-0410-a6f0-8f06a7374b81
2011-09-12 12:55:07 +00:00
Toshi MARUYAMA 6cddeac5e6 Rails3: scm: subversion: fix error of test_directory_diff at functional test
On Rails 3.1, ActiveRecord::HasManyThroughCantAssociateThroughHasOneOrManyReflection error raises.
For more details, see r7062.

git-svn-id: svn+ssh://rubyforge.org/var/svn/redmine/trunk@7190 e93f8b46-1217-0410-a6f0-8f06a7374b81
2011-09-12 12:54:39 +00:00
Toshi MARUYAMA 2c5658cda8 Rails3: scm: subversion: fix error of test_revision_diff at functional test
On Rails 3.1, ActiveRecord::HasManyThroughCantAssociateThroughHasOneOrManyReflection error raises.
For more details, see r7062.

git-svn-id: svn+ssh://rubyforge.org/var/svn/redmine/trunk@7189 e93f8b46-1217-0410-a6f0-8f06a7374b81
2011-09-12 12:54:05 +00:00
Toshi MARUYAMA 345b0238fc Rails3: scm: subversion: fix error of test_empty_revision at functional test
On Rails 3.1, ActiveRecord::HasManyThroughCantAssociateThroughHasOneOrManyReflection error raises.
For more details, see r7062.

git-svn-id: svn+ssh://rubyforge.org/var/svn/redmine/trunk@7188 e93f8b46-1217-0410-a6f0-8f06a7374b81
2011-09-12 12:53:34 +00:00
Toshi MARUYAMA 9c0701ce12 Rails3: scm: subversion: fix error of test_invalid_revision at functional test
On Rails 3.1, ActiveRecord::HasManyThroughCantAssociateThroughHasOneOrManyReflection error raises.
For more details, see r7062.

git-svn-id: svn+ssh://rubyforge.org/var/svn/redmine/trunk@7187 e93f8b46-1217-0410-a6f0-8f06a7374b81
2011-09-12 12:53:00 +00:00
Toshi MARUYAMA 404b7d9a7d Rails3: scm: subversion: fix error of test_directory_entry at functional test
On Rails 3.1, ActiveRecord::HasManyThroughCantAssociateThroughHasOneOrManyReflection error raises.
For more details, see r7062.

git-svn-id: svn+ssh://rubyforge.org/var/svn/redmine/trunk@7186 e93f8b46-1217-0410-a6f0-8f06a7374b81
2011-09-12 12:52:31 +00:00
Toshi MARUYAMA 01f4caad45 scm: subversion: code clean up test_entry_should_send_if_too_big at functional test
git-svn-id: svn+ssh://rubyforge.org/var/svn/redmine/trunk@7185 e93f8b46-1217-0410-a6f0-8f06a7374b81
2011-09-12 12:07:42 +00:00
Toshi MARUYAMA 93d5da4e53 scm: subversion: code clean up test_browse_directory at functional test
git-svn-id: svn+ssh://rubyforge.org/var/svn/redmine/trunk@7184 e93f8b46-1217-0410-a6f0-8f06a7374b81
2011-09-12 12:07:15 +00:00
Toshi MARUYAMA 8598f6a816 Rails3: scm: cvs: fix error of test_diff at functional test
On Rails 3.1, ActiveRecord::HasManyThroughCantAssociateThroughHasOneOrManyReflection error raises.
For more details, see r7062.

git-svn-id: svn+ssh://rubyforge.org/var/svn/redmine/trunk@7183 e93f8b46-1217-0410-a6f0-8f06a7374b81
2011-09-12 11:42:33 +00:00
Toshi MARUYAMA ef5008dae7 Rails3: scm: cvs: fix error of test_directory_entry at functional test
On Rails 3.1, ActiveRecord::HasManyThroughCantAssociateThroughHasOneOrManyReflection error raises.
For more details, see r7062.

git-svn-id: svn+ssh://rubyforge.org/var/svn/redmine/trunk@7182 e93f8b46-1217-0410-a6f0-8f06a7374b81
2011-09-12 11:42:03 +00:00
Toshi MARUYAMA f537e31062 Rails3: scm: cvs: fix error of test_entry_download at functional test
On Rails 3.1, ActiveRecord::HasManyThroughCantAssociateThroughHasOneOrManyReflection error raises.
For more details, see r7062.

git-svn-id: svn+ssh://rubyforge.org/var/svn/redmine/trunk@7181 e93f8b46-1217-0410-a6f0-8f06a7374b81
2011-09-12 11:41:24 +00:00
Toshi MARUYAMA db05ebed83 Rails3: scm: cvs: fix error of test_entry_not_found at functional test
On Rails 3.1, ActiveRecord::HasManyThroughCantAssociateThroughHasOneOrManyReflection error raises.
For more details, see r7062.

git-svn-id: svn+ssh://rubyforge.org/var/svn/redmine/trunk@7180 e93f8b46-1217-0410-a6f0-8f06a7374b81
2011-09-12 11:40:36 +00:00
Toshi MARUYAMA 12a13fc80d Rails3: scm: cvs: fix error of test_entry_at_given_revision at functional test
On Rails 3.1, ActiveRecord::HasManyThroughCantAssociateThroughHasOneOrManyReflection error raises.
For more details, see r7062.

git-svn-id: svn+ssh://rubyforge.org/var/svn/redmine/trunk@7179 e93f8b46-1217-0410-a6f0-8f06a7374b81
2011-09-12 11:40:08 +00:00
Toshi MARUYAMA 9028ea4d7b Rails3: scm: cvs: fix error of test_entry at functional test
On Rails 3.1, ActiveRecord::HasManyThroughCantAssociateThroughHasOneOrManyReflection error raises.
For more details, see r7062.

git-svn-id: svn+ssh://rubyforge.org/var/svn/redmine/trunk@7178 e93f8b46-1217-0410-a6f0-8f06a7374b81
2011-09-12 11:39:36 +00:00
Toshi MARUYAMA 8f5f3a2ea2 Rails3: scm: cvs: fix error of test_browse_at_given_revision at functional test
On Rails 3.1, ActiveRecord::HasManyThroughCantAssociateThroughHasOneOrManyReflection error raises.
For more details, see r7062.

git-svn-id: svn+ssh://rubyforge.org/var/svn/redmine/trunk@7177 e93f8b46-1217-0410-a6f0-8f06a7374b81
2011-09-12 11:39:01 +00:00
Toshi MARUYAMA 19e7846ee4 Rails3: scm: cvs: fix error of test_browse_directory at functional test
On Rails 3.1, ActiveRecord::HasManyThroughCantAssociateThroughHasOneOrManyReflection error raises.
For more details, see r7062.

git-svn-id: svn+ssh://rubyforge.org/var/svn/redmine/trunk@7176 e93f8b46-1217-0410-a6f0-8f06a7374b81
2011-09-12 11:38:31 +00:00
Toshi MARUYAMA 08380e78b6 Rails3: scm: cvs: fix error of test_annotate at unit model test
On Rails 3.1, ActiveRecord::HasManyThroughCantAssociateThroughHasOneOrManyReflection error raises.
For more details, see r7062.

git-svn-id: svn+ssh://rubyforge.org/var/svn/redmine/trunk@7175 e93f8b46-1217-0410-a6f0-8f06a7374b81
2011-09-12 11:16:10 +00:00
Toshi MARUYAMA 7b3a576443 Rails3: scm: cvs: fix error of test_diff_new_files at unit model test
On Rails 3.1, ActiveRecord::HasManyThroughCantAssociateThroughHasOneOrManyReflection error raises.
For more details, see r7062.

git-svn-id: svn+ssh://rubyforge.org/var/svn/redmine/trunk@7174 e93f8b46-1217-0410-a6f0-8f06a7374b81
2011-09-12 11:15:45 +00:00
Toshi MARUYAMA 5d187b4fa5 Rails3: scm: subversion: fix error of test_show at unit model test
On Rails 3.1, ActiveRecord::HasManyThroughCantAssociateThroughHasOneOrManyReflection error raises.
For more details, see r7062.

git-svn-id: svn+ssh://rubyforge.org/var/svn/redmine/trunk@7173 e93f8b46-1217-0410-a6f0-8f06a7374b81
2011-09-12 11:15:18 +00:00
Toshi MARUYAMA 3afbc61cdd scm: subversion: define NUM_REV as the number of test repository revisions at functional test
git-svn-id: svn+ssh://rubyforge.org/var/svn/redmine/trunk@7172 e93f8b46-1217-0410-a6f0-8f06a7374b81
2011-09-12 11:14:34 +00:00
Toshi MARUYAMA 5fe6f57cb6 Rails3: scm: cvs: fix error of test_destroy_invalid_repository at functional test
On Rails 3.1, ActiveRecord::HasManyThroughCantAssociateThroughHasOneOrManyReflection error raises.
For more details, see r7062.

git-svn-id: svn+ssh://rubyforge.org/var/svn/redmine/trunk@7171 e93f8b46-1217-0410-a6f0-8f06a7374b81
2011-09-12 10:53:20 +00:00
Toshi MARUYAMA 17163db774 Rails3: scm: cvs: fix error of test_destroy_valid_repository at functional test
On Rails 3.1, ActiveRecord::HasManyThroughCantAssociateThroughHasOneOrManyReflection error raises.
For more details, see r7062.

git-svn-id: svn+ssh://rubyforge.org/var/svn/redmine/trunk@7170 e93f8b46-1217-0410-a6f0-8f06a7374b81
2011-09-12 10:52:58 +00:00
Toshi MARUYAMA 38374b9536 scm: cvs: code clean up test_entry_download at functional test
git-svn-id: svn+ssh://rubyforge.org/var/svn/redmine/trunk@7169 e93f8b46-1217-0410-a6f0-8f06a7374b81
2011-09-12 10:19:17 +00:00
Toshi MARUYAMA 2ab9f0f778 Rails3: scm: subversion: fix error of test_next_nil at unit model test
On Rails 3.1, ActiveRecord::HasManyThroughCantAssociateThroughHasOneOrManyReflection error raises.
For more details, see r7062.

git-svn-id: svn+ssh://rubyforge.org/var/svn/redmine/trunk@7168 e93f8b46-1217-0410-a6f0-8f06a7374b81
2011-09-12 10:04:43 +00:00
Toshi MARUYAMA 94427d66b6 Rails3: scm: subversion: fix error of test_next at unit model test
On Rails 3.1, ActiveRecord::HasManyThroughCantAssociateThroughHasOneOrManyReflection error raises.
For more details, see r7062.

git-svn-id: svn+ssh://rubyforge.org/var/svn/redmine/trunk@7167 e93f8b46-1217-0410-a6f0-8f06a7374b81
2011-09-12 10:04:20 +00:00
Toshi MARUYAMA 0fb6d2d7e8 Rails3: scm: subversion: fix error of test_previous_nil at unit model test
On Rails 3.1, ActiveRecord::HasManyThroughCantAssociateThroughHasOneOrManyReflection error raises.
For more details, see r7062.

git-svn-id: svn+ssh://rubyforge.org/var/svn/redmine/trunk@7166 e93f8b46-1217-0410-a6f0-8f06a7374b81
2011-09-12 10:03:58 +00:00
Toshi MARUYAMA 9ec9089bc2 Rails3: scm: subversion: fix error of test_previous at unit model test
On Rails 3.1, ActiveRecord::HasManyThroughCantAssociateThroughHasOneOrManyReflection error raises.
For more details, see r7062.

git-svn-id: svn+ssh://rubyforge.org/var/svn/redmine/trunk@7165 e93f8b46-1217-0410-a6f0-8f06a7374b81
2011-09-12 10:03:34 +00:00
Toshi MARUYAMA 3b6c6a6780 Rails3: scm: filesystem: replace @repository.reload to @project.reload of test_fetch_changesets at unit model test
Filesystem repository does not have revisions.
So, on Rails 3.1, ActiveRecord::HasManyThroughCantAssociateThroughHasOneOrManyReflection error
does not raise.
But, replace the same way with other SCMs.

For more details, see r7062.

git-svn-id: svn+ssh://rubyforge.org/var/svn/redmine/trunk@7164 e93f8b46-1217-0410-a6f0-8f06a7374b81
2011-09-12 10:03:09 +00:00
Toshi MARUYAMA 4361ee9fc5 Rails3: scm: cvs: fix error of test_browse_root at functional test
On Rails 3.1, ActiveRecord::HasManyThroughCantAssociateThroughHasOneOrManyReflection error raises.
For more details, see r7062.

git-svn-id: svn+ssh://rubyforge.org/var/svn/redmine/trunk@7163 e93f8b46-1217-0410-a6f0-8f06a7374b81
2011-09-12 10:02:44 +00:00
Toshi MARUYAMA b46045c96c scm: cvs: define NUM_REV as the number of test repository revisions at functional test
git-svn-id: svn+ssh://rubyforge.org/var/svn/redmine/trunk@7162 e93f8b46-1217-0410-a6f0-8f06a7374b81
2011-09-12 10:02:11 +00:00
Toshi MARUYAMA e8e2fde490 Rails3: scm: darcs: fix error of test_destroy_invalid_repository at functional test
On Rails 3.1, ActiveRecord::HasManyThroughCantAssociateThroughHasOneOrManyReflection error raises.
For more details, see r7062.

git-svn-id: svn+ssh://rubyforge.org/var/svn/redmine/trunk@7161 e93f8b46-1217-0410-a6f0-8f06a7374b81
2011-09-12 04:12:29 +00:00
Toshi MARUYAMA f60183eae7 Rails3: scm: darcs: fix error of test_destroy_valid_repository at functional test
On Rails 3.1, ActiveRecord::HasManyThroughCantAssociateThroughHasOneOrManyReflection error raises.
For more details, see r7062.

git-svn-id: svn+ssh://rubyforge.org/var/svn/redmine/trunk@7160 e93f8b46-1217-0410-a6f0-8f06a7374b81
2011-09-12 04:11:49 +00:00
Toshi MARUYAMA 3df1878daf Rails3: scm: darcs: fix error of test_diff at functional test
On Rails 3.1, ActiveRecord::HasManyThroughCantAssociateThroughHasOneOrManyReflection error raises.
For more details, see r7062.

git-svn-id: svn+ssh://rubyforge.org/var/svn/redmine/trunk@7159 e93f8b46-1217-0410-a6f0-8f06a7374b81
2011-09-12 04:11:04 +00:00
Toshi MARUYAMA 4bff1e94ce Rails3: scm: darcs: fix error of test_changes at functional test
On Rails 3.1, ActiveRecord::HasManyThroughCantAssociateThroughHasOneOrManyReflection error raises.
For more details, see r7062.

git-svn-id: svn+ssh://rubyforge.org/var/svn/redmine/trunk@7158 e93f8b46-1217-0410-a6f0-8f06a7374b81
2011-09-12 04:10:19 +00:00
Toshi MARUYAMA 2be384c31a Rails3: scm: darcs: fix error of test_browse_at_given_revision at functional test
On Rails 3.1, ActiveRecord::HasManyThroughCantAssociateThroughHasOneOrManyReflection error raises.
For more details, see r7062.

git-svn-id: svn+ssh://rubyforge.org/var/svn/redmine/trunk@7157 e93f8b46-1217-0410-a6f0-8f06a7374b81
2011-09-12 04:09:33 +00:00
Toshi MARUYAMA bb53890dbb Rails3: scm: darcs: fix error of test_browse_directory at functional test
On Rails 3.1, ActiveRecord::HasManyThroughCantAssociateThroughHasOneOrManyReflection error raises.
For more details, see r7062.

git-svn-id: svn+ssh://rubyforge.org/var/svn/redmine/trunk@7156 e93f8b46-1217-0410-a6f0-8f06a7374b81
2011-09-12 04:08:51 +00:00
Toshi MARUYAMA c55dde85e9 Rails3: scm: subversion: fix error of test_format_identifier at unit model test
On Rails 3.1, ActiveRecord::HasManyThroughCantAssociateThroughHasOneOrManyReflection error raises.
For more details, see r7062.

git-svn-id: svn+ssh://rubyforge.org/var/svn/redmine/trunk@7155 e93f8b46-1217-0410-a6f0-8f06a7374b81
2011-09-12 04:06:06 +00:00
Toshi MARUYAMA 2deaa21f72 Rails3: scm: subversion: fix error of test_find_changeset_by_empty_name at unit model test
On Rails 3.1, ActiveRecord::HasManyThroughCantAssociateThroughHasOneOrManyReflection error raises.
For more details, see r7062.

git-svn-id: svn+ssh://rubyforge.org/var/svn/redmine/trunk@7154 e93f8b46-1217-0410-a6f0-8f06a7374b81
2011-09-12 04:05:30 +00:00
Toshi MARUYAMA 214bbc7c6f Rails3: scm: subversion: fix error of test_identifier at unit model test
On Rails 3.1, ActiveRecord::HasManyThroughCantAssociateThroughHasOneOrManyReflection error raises.
For more details, see r7062.

git-svn-id: svn+ssh://rubyforge.org/var/svn/redmine/trunk@7153 e93f8b46-1217-0410-a6f0-8f06a7374b81
2011-09-12 04:04:50 +00:00
Toshi MARUYAMA 91a1808ff3 Rails3: scm: subversion: fix error of test_directory_listing_with_square_brackets_in_base at unit model test
On Rails 3.1, ActiveRecord::HasManyThroughCantAssociateThroughHasOneOrManyReflection error raises.
For more details, see r7062.

git-svn-id: svn+ssh://rubyforge.org/var/svn/redmine/trunk@7152 e93f8b46-1217-0410-a6f0-8f06a7374b81
2011-09-12 04:04:10 +00:00
Toshi MARUYAMA 92bcc041ae Rails3: scm: subversion: fix error of test_directory_listing_with_square_brackets_in_path at unit model test
On Rails 3.1, ActiveRecord::HasManyThroughCantAssociateThroughHasOneOrManyReflection error raises.
For more details, see r7062.

git-svn-id: svn+ssh://rubyforge.org/var/svn/redmine/trunk@7151 e93f8b46-1217-0410-a6f0-8f06a7374b81
2011-09-12 04:03:13 +00:00
Toshi MARUYAMA db11ef3210 Rails3: scm: subversion: fix error of test_latest_changesets at unit model test
On Rails 3.1, ActiveRecord::HasManyThroughCantAssociateThroughHasOneOrManyReflection error raises.
For more details, see r7062.

git-svn-id: svn+ssh://rubyforge.org/var/svn/redmine/trunk@7150 e93f8b46-1217-0410-a6f0-8f06a7374b81
2011-09-12 04:02:30 +00:00
Toshi MARUYAMA 9fda3e4aab Rails3: scm: subversion: fix error of test_fetch_changesets_incremental at unit model test
On Rails 3.1, ActiveRecord::HasManyThroughCantAssociateThroughHasOneOrManyReflection error raises.
For more details, see r7062.

git-svn-id: svn+ssh://rubyforge.org/var/svn/redmine/trunk@7149 e93f8b46-1217-0410-a6f0-8f06a7374b81
2011-09-12 04:01:43 +00:00
Toshi MARUYAMA 435886e1a1 Rails3: scm: darcs: fix error of test_browse_root at functional test
On Rails 3.1, ActiveRecord::HasManyThroughCantAssociateThroughHasOneOrManyReflection error raises.
For more details, see r7062.

git-svn-id: svn+ssh://rubyforge.org/var/svn/redmine/trunk@7148 e93f8b46-1217-0410-a6f0-8f06a7374b81
2011-09-12 04:00:49 +00:00
Toshi MARUYAMA 9114df75de scm: darcs: define NUM_REV as the number of test repository revisions at functional test
git-svn-id: svn+ssh://rubyforge.org/var/svn/redmine/trunk@7147 e93f8b46-1217-0410-a6f0-8f06a7374b81
2011-09-12 04:00:04 +00:00
Toshi MARUYAMA 5bf47d1eb8 Rails3: scm: git: fix error of test_destroy_invalid_repository at functional test
On Rails 3.1, ActiveRecord::HasManyThroughCantAssociateThroughHasOneOrManyReflection error raises.
For more details, see r7062.

git-svn-id: svn+ssh://rubyforge.org/var/svn/redmine/trunk@7146 e93f8b46-1217-0410-a6f0-8f06a7374b81
2011-09-12 03:00:14 +00:00
Toshi MARUYAMA 15b87ae359 Rails3: scm: git: fix error of test_destroy_valid_repository at functional test
On Rails 3.1, ActiveRecord::HasManyThroughCantAssociateThroughHasOneOrManyReflection error raises.
For more details, see r7062.

git-svn-id: svn+ssh://rubyforge.org/var/svn/redmine/trunk@7145 e93f8b46-1217-0410-a6f0-8f06a7374b81
2011-09-12 02:59:43 +00:00
Toshi MARUYAMA fe6d58f918 Rails3: scm: git: fix error of test_empty_revision at functional test
On Rails 3.1, ActiveRecord::HasManyThroughCantAssociateThroughHasOneOrManyReflection error raises.
For more details, see r7062.

git-svn-id: svn+ssh://rubyforge.org/var/svn/redmine/trunk@7144 e93f8b46-1217-0410-a6f0-8f06a7374b81
2011-09-12 02:59:08 +00:00
Toshi MARUYAMA 4ff3d0d639 Rails3: scm: git: fix error of test_revision at functional test
On Rails 3.1, ActiveRecord::HasManyThroughCantAssociateThroughHasOneOrManyReflection error raises.
For more details, see r7062.

git-svn-id: svn+ssh://rubyforge.org/var/svn/redmine/trunk@7143 e93f8b46-1217-0410-a6f0-8f06a7374b81
2011-09-12 02:58:33 +00:00
Toshi MARUYAMA 117ebf2d65 Rails3: scm: git: fix error of test_annotate_at_given_revision at functional test
On Rails 3.1, ActiveRecord::HasManyThroughCantAssociateThroughHasOneOrManyReflection error raises.
For more details, see r7062.

git-svn-id: svn+ssh://rubyforge.org/var/svn/redmine/trunk@7142 e93f8b46-1217-0410-a6f0-8f06a7374b81
2011-09-12 02:58:06 +00:00
Toshi MARUYAMA a6193f90e3 Rails3: scm: git: fix error of test_diff_two_revs at functional test
On Rails 3.1, ActiveRecord::HasManyThroughCantAssociateThroughHasOneOrManyReflection error raises.
For more details, see r7062.

git-svn-id: svn+ssh://rubyforge.org/var/svn/redmine/trunk@7141 e93f8b46-1217-0410-a6f0-8f06a7374b81
2011-09-12 02:57:34 +00:00
Toshi MARUYAMA 14386007f5 Rails3: scm: git: fix error of test_diff_truncated at functional test
On Rails 3.1, ActiveRecord::HasManyThroughCantAssociateThroughHasOneOrManyReflection error raises.
For more details, see r7062.

git-svn-id: svn+ssh://rubyforge.org/var/svn/redmine/trunk@7140 e93f8b46-1217-0410-a6f0-8f06a7374b81
2011-09-12 02:56:54 +00:00
Toshi MARUYAMA a318414712 Rails3: scm: git: fix error of test_diff at functional test
On Rails 3.1, ActiveRecord::HasManyThroughCantAssociateThroughHasOneOrManyReflection error raises.
For more details, see r7062.

git-svn-id: svn+ssh://rubyforge.org/var/svn/redmine/trunk@7139 e93f8b46-1217-0410-a6f0-8f06a7374b81
2011-09-12 02:56:23 +00:00
Toshi MARUYAMA 1cae0ae415 Rails3: scm: git: fix error of test_browse_at_given_revision at functional test
On Rails 3.1, ActiveRecord::HasManyThroughCantAssociateThroughHasOneOrManyReflection error raises.
For more details, see r7062.

git-svn-id: svn+ssh://rubyforge.org/var/svn/redmine/trunk@7138 e93f8b46-1217-0410-a6f0-8f06a7374b81
2011-09-12 02:55:40 +00:00
Toshi MARUYAMA a2d999592f Rails3: scm: cvs: fix error of test_annotate at unit model test
On Rails 3.1, ActiveRecord::HasManyThroughCantAssociateThroughHasOneOrManyReflection error raises.
For more details, see r7062.

git-svn-id: svn+ssh://rubyforge.org/var/svn/redmine/trunk@7137 e93f8b46-1217-0410-a6f0-8f06a7374b81
2011-09-12 02:45:20 +00:00
Toshi MARUYAMA 46bfaeb488 Rails3: scm: cvs: fix error of test_cat at unit model test
On Rails 3.1, ActiveRecord::HasManyThroughCantAssociateThroughHasOneOrManyReflection error raises.
For more details, see r7062.

git-svn-id: svn+ssh://rubyforge.org/var/svn/redmine/trunk@7136 e93f8b46-1217-0410-a6f0-8f06a7374b81
2011-09-12 02:44:55 +00:00
Toshi MARUYAMA 38a0cac5d0 Rails3: scm: cvs: fix error of test_entries_invalid_revision at unit model test
On Rails 3.1, ActiveRecord::HasManyThroughCantAssociateThroughHasOneOrManyReflection error raises.
For more details, see r7062.

git-svn-id: svn+ssh://rubyforge.org/var/svn/redmine/trunk@7135 e93f8b46-1217-0410-a6f0-8f06a7374b81
2011-09-12 02:44:31 +00:00
Toshi MARUYAMA fa3f93f2a0 Rails3: scm: cvs: fix error of test_entries_invalid_path at unit model test
On Rails 3.1, ActiveRecord::HasManyThroughCantAssociateThroughHasOneOrManyReflection error raises.
For more details, see r7062.

git-svn-id: svn+ssh://rubyforge.org/var/svn/redmine/trunk@7134 e93f8b46-1217-0410-a6f0-8f06a7374b81
2011-09-12 02:44:08 +00:00
Toshi MARUYAMA 9988b47634 Rails3: scm: cvs: fix error of test_entries_rev3 at unit model test
On Rails 3.1, ActiveRecord::HasManyThroughCantAssociateThroughHasOneOrManyReflection error raises.
For more details, see r7062.

git-svn-id: svn+ssh://rubyforge.org/var/svn/redmine/trunk@7133 e93f8b46-1217-0410-a6f0-8f06a7374b81
2011-09-12 02:43:44 +00:00