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
b5dd07781c
set "svn:eol-style" native to lib/tasks/testing.rake
...
git-svn-id: svn+ssh://rubyforge.org/var/svn/redmine/trunk@8331 e93f8b46-1217-0410-a6f0-8f06a7374b81
2011-12-24 00:05:29 +00:00
Toshi MARUYAMA
ff1418e2d3
add new rake task "test:rdm_routing" to run test/integration/routing/*_test.rb
...
git-svn-id: svn+ssh://rubyforge.org/var/svn/redmine/trunk@8330 e93f8b46-1217-0410-a6f0-8f06a7374b81
2011-12-24 00:00:56 +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
d10028ec06
route: remove unused 'help'
...
help controller was removed at r835.
git-svn-id: svn+ssh://rubyforge.org/var/svn/redmine/trunk@8315 e93f8b46-1217-0410-a6f0-8f06a7374b81
2011-12-23 03:25:49 +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
Toshi MARUYAMA
28d2896f90
Rails3: view: html_safe for issues/destroy.html.erb
...
Contributed by Eric Cline.
git-svn-id: svn+ssh://rubyforge.org/var/svn/redmine/trunk@8312 e93f8b46-1217-0410-a6f0-8f06a7374b81
2011-12-22 06:51:42 +00:00
Toshi MARUYAMA
fddfd4b413
route: news: replace unused alias "all_news" and "formatted_all_news"
...
git-svn-id: svn+ssh://rubyforge.org/var/svn/redmine/trunk@8311 e93f8b46-1217-0410-a6f0-8f06a7374b81
2011-12-22 02:50:46 +00:00
Toshi MARUYAMA
e2b36d1c8a
Rails3: route: split boards topics edit and destroy
...
Rails2 legacy route on Rails 3.0 does not support this syntax.
git-svn-id: svn+ssh://rubyforge.org/var/svn/redmine/trunk@8310 e93f8b46-1217-0410-a6f0-8f06a7374b81
2011-12-22 00:45:26 +00:00
Toshi MARUYAMA
ab1137159f
Rails3: helper: html_safe for WatchersHelper
...
git-svn-id: svn+ssh://rubyforge.org/var/svn/redmine/trunk@8309 e93f8b46-1217-0410-a6f0-8f06a7374b81
2011-12-21 16:47:42 +00:00
Toshi MARUYAMA
0d5df3a73e
Rails3: view: html_safe for timelog/bulk_edit.html.erb
...
git-svn-id: svn+ssh://rubyforge.org/var/svn/redmine/trunk@8308 e93f8b46-1217-0410-a6f0-8f06a7374b81
2011-12-21 13:42:19 +00:00
Toshi MARUYAMA
576d333c2c
Rails3: view: html_safe for common/_calendar.html.erb
...
git-svn-id: svn+ssh://rubyforge.org/var/svn/redmine/trunk@8307 e93f8b46-1217-0410-a6f0-8f06a7374b81
2011-12-21 03:40:06 +00:00
Toshi MARUYAMA
427aca9f90
fix parsing zh-TW.yml error with psych library on Ruby 1.9
...
git-svn-id: svn+ssh://rubyforge.org/var/svn/redmine/trunk@8306 e93f8b46-1217-0410-a6f0-8f06a7374b81
2011-12-21 03:39:43 +00:00
Toshi MARUYAMA
16365b5ce9
fix parsing en.yml error with psych library on Ruby 1.9
...
git-svn-id: svn+ssh://rubyforge.org/var/svn/redmine/trunk@8305 e93f8b46-1217-0410-a6f0-8f06a7374b81
2011-12-21 03:39:11 +00:00
Toshi MARUYAMA
d249989257
Rails3: rename sample_plugin .rhtml to .html.erb ( #6317 , #4796 )
...
:rhtml and :rxml were finally removed as template handlers at Rails 3.1 RC4.
git-svn-id: svn+ssh://rubyforge.org/var/svn/redmine/trunk@8304 e93f8b46-1217-0410-a6f0-8f06a7374b81
2011-12-20 08:32:30 +00:00
Toshi MARUYAMA
cb4abb115d
remove trailing white-spaces from public/htaccess.fcgi.example
...
git-svn-id: svn+ssh://rubyforge.org/var/svn/redmine/trunk@8303 e93f8b46-1217-0410-a6f0-8f06a7374b81
2011-12-20 07:17:35 +00:00
Toshi MARUYAMA
87fd636313
add newline at end of public/dispatch.rb.example
...
git-svn-id: svn+ssh://rubyforge.org/var/svn/redmine/trunk@8302 e93f8b46-1217-0410-a6f0-8f06a7374b81
2011-12-20 07:13:45 +00:00
Toshi MARUYAMA
182932560a
add newline at end of public/dispatch.cgi.example
...
git-svn-id: svn+ssh://rubyforge.org/var/svn/redmine/trunk@8301 e93f8b46-1217-0410-a6f0-8f06a7374b81
2011-12-20 07:13:21 +00:00
Toshi MARUYAMA
647e91059d
set property svn:eol-style native at public/htaccess.fcgi.example
...
git-svn-id: svn+ssh://rubyforge.org/var/svn/redmine/trunk@8300 e93f8b46-1217-0410-a6f0-8f06a7374b81
2011-12-20 06:44:03 +00:00
Toshi MARUYAMA
7d46c43884
change new line 'CRLF' to 'LF' at public/htaccess.fcgi.example
...
git-svn-id: svn+ssh://rubyforge.org/var/svn/redmine/trunk@8299 e93f8b46-1217-0410-a6f0-8f06a7374b81
2011-12-20 06:38:33 +00:00
Toshi MARUYAMA
5293ba2323
add newline at end of public/htaccess.fcgi.example
...
git-svn-id: svn+ssh://rubyforge.org/var/svn/redmine/trunk@8298 e93f8b46-1217-0410-a6f0-8f06a7374b81
2011-12-20 06:16:05 +00:00
Toshi MARUYAMA
9518cea3dd
remove svn property "eol-style native" from public/htaccess.fcgi.example
...
git-svn-id: svn+ssh://rubyforge.org/var/svn/redmine/trunk@8297 e93f8b46-1217-0410-a6f0-8f06a7374b81
2011-12-20 06:09:50 +00:00
Toshi MARUYAMA
16e8818d9e
remove trailing white-spaces from app/models/user.rb
...
git-svn-id: svn+ssh://rubyforge.org/var/svn/redmine/trunk@8296 e93f8b46-1217-0410-a6f0-8f06a7374b81
2011-12-19 04:41:13 +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
f5987a5ca0
Use validation callback.
...
git-svn-id: svn+ssh://rubyforge.org/var/svn/redmine/trunk@8293 e93f8b46-1217-0410-a6f0-8f06a7374b81
2011-12-18 15:48:06 +00:00
Jean-Philippe Lang
14ea087edc
Removed unused scope.
...
git-svn-id: svn+ssh://rubyforge.org/var/svn/redmine/trunk@8292 e93f8b46-1217-0410-a6f0-8f06a7374b81
2011-12-18 15:04:34 +00:00
Jean-Philippe Lang
b7ceb3c333
Removed unused scope.
...
git-svn-id: svn+ssh://rubyforge.org/var/svn/redmine/trunk@8291 e93f8b46-1217-0410-a6f0-8f06a7374b81
2011-12-18 15:04:08 +00:00
Jean-Philippe Lang
b8ce888d98
Use scoped method instead of merge_conditions.
...
git-svn-id: svn+ssh://rubyforge.org/var/svn/redmine/trunk@8290 e93f8b46-1217-0410-a6f0-8f06a7374b81
2011-12-18 15:02:46 +00:00
Jean-Philippe Lang
e75549cc8e
Removed useless after_initialize callback.
...
git-svn-id: svn+ssh://rubyforge.org/var/svn/redmine/trunk@8289 e93f8b46-1217-0410-a6f0-8f06a7374b81
2011-12-18 14:58:27 +00:00
Jean-Philippe Lang
9e83ee2ddf
Removed after_initialize methods.
...
git-svn-id: svn+ssh://rubyforge.org/var/svn/redmine/trunk@8288 e93f8b46-1217-0410-a6f0-8f06a7374b81
2011-12-18 14:57:58 +00:00
Jean-Philippe Lang
062fbeae80
Makes models #initialize accept additional arguments.
...
git-svn-id: svn+ssh://rubyforge.org/var/svn/redmine/trunk@8287 e93f8b46-1217-0410-a6f0-8f06a7374b81
2011-12-18 13:26:20 +00:00
Jean-Philippe Lang
5eed64b848
human_attribute_name accepts optional argument.
...
git-svn-id: svn+ssh://rubyforge.org/var/svn/redmine/trunk@8286 e93f8b46-1217-0410-a6f0-8f06a7374b81
2011-12-18 13:20:19 +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