Commit Graph

22 Commits

Author SHA1 Message Date
Toshi MARUYAMA 4ff3c9fdb5 partial backout r10263
Backout replacing shoulda context of test/unit/helpers/issues_helper_test.rb.
Test methods in shoulda context do not run on Ruby 1.8.7-p370.

git-svn-id: svn+ssh://rubyforge.org/var/svn/redmine/trunk@10689 e93f8b46-1217-0410-a6f0-8f06a7374b81
2012-10-22 02:03:23 +00:00
Toshi MARUYAMA f188277ab2 backout r10253
Backout replacing shoulda context of test/unit/helpers/issues_helper_test.rb.
Test methods in shoulda context do not run on Ruby 1.8.7-p370.

git-svn-id: svn+ssh://rubyforge.org/var/svn/redmine/trunk@10688 e93f8b46-1217-0410-a6f0-8f06a7374b81
2012-10-22 02:03:11 +00:00
Toshi MARUYAMA e4b7b7cc38 code cleanup test_with_a_start_date_attribute_* of unit IssuesHelperTest
git-svn-id: svn+ssh://rubyforge.org/var/svn/redmine/trunk@10264 e93f8b46-1217-0410-a6f0-8f06a7374b81
2012-09-01 05:33:43 +00:00
Toshi MARUYAMA 8eb39d682d replace shoulder "with a due_date attribute" context of unit IssuesHelperTest and use with_settings
git-svn-id: svn+ssh://rubyforge.org/var/svn/redmine/trunk@10263 e93f8b46-1217-0410-a6f0-8f06a7374b81
2012-09-01 05:33:28 +00:00
Toshi MARUYAMA 4bca584024 use date_format setting at unit IssuesHelperTest test_with_a_start_date_attribute_*
git-svn-id: svn+ssh://rubyforge.org/var/svn/redmine/trunk@10257 e93f8b46-1217-0410-a6f0-8f06a7374b81
2012-09-01 04:10:33 +00:00
Toshi MARUYAMA 444987ce91 replace shoulder "with a start_date attribute" context of test/unit/helpers/issues_helper_test.rb
git-svn-id: svn+ssh://rubyforge.org/var/svn/redmine/trunk@10253 e93f8b46-1217-0410-a6f0-8f06a7374b81
2012-09-01 02:23:59 +00:00
Jean-Philippe Lang c6106543e1 html5 compliance.
git-svn-id: svn+ssh://rubyforge.org/var/svn/redmine/trunk@10110 e93f8b46-1217-0410-a6f0-8f06a7374b81
2012-07-29 10:12:26 +00:00
Jean-Philippe Lang ba5a052c8c Copyright update.
git-svn-id: svn+ssh://rubyforge.org/var/svn/redmine/trunk@9636 e93f8b46-1217-0410-a6f0-8f06a7374b81
2012-05-05 12:56:53 +00:00
Jean-Philippe Lang 1c31e32df7 No need to save journal details.
git-svn-id: svn+ssh://rubyforge.org/var/svn/redmine/trunk@9467 e93f8b46-1217-0410-a6f0-8f06a7374b81
2012-04-22 08:26:45 +00:00
Jean-Philippe Lang 4598c64ebd Additional tests for IssuesHelper#show_detail.
git-svn-id: svn+ssh://rubyforge.org/var/svn/redmine/trunk@9466 e93f8b46-1217-0410-a6f0-8f06a7374b81
2012-04-22 08:24:39 +00:00
Jean-Philippe Lang bcd8c64384 No need to save the record.
git-svn-id: svn+ssh://rubyforge.org/var/svn/redmine/trunk@9077 e93f8b46-1217-0410-a6f0-8f06a7374b81
2012-03-04 12:03:59 +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 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 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 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 b0dfcca230 back out r6117. use ActionView::TestCase instead of HelperTestCase at IssuesHelperTest.
Tests on CI server fail.

git-svn-id: svn+ssh://rubyforge.org/var/svn/redmine/trunk@6119 e93f8b46-1217-0410-a6f0-8f06a7374b81
2011-06-22 07:54:18 +00:00
Toshi MARUYAMA 81e3bc3737 use ActionView::TestCase instead of HelperTestCase at issues_helper_test.rb.
ActionView::Helpers::ActiveRecordHelper at test/helper_testcase.rb
does not exist on Rails 3.0.

git-svn-id: svn+ssh://rubyforge.org/var/svn/redmine/trunk@6117 e93f8b46-1217-0410-a6f0-8f06a7374b81
2011-06-22 04:10:02 +00:00
Toshi MARUYAMA a955a5140b remove trailing white-spaces from unit issues helper test.
git-svn-id: svn+ssh://rubyforge.org/var/svn/redmine/trunk@5804 e93f8b46-1217-0410-a6f0-8f06a7374b81
2011-05-16 22:56:46 +00:00
Jean-Philippe Lang f89d04074e Warn about subtasks before deleting a parent issue (#6562).
git-svn-id: svn+ssh://rubyforge.org/var/svn/redmine/trunk@5495 e93f8b46-1217-0410-a6f0-8f06a7374b81
2011-04-17 15:17:18 +00:00
Jean-Philippe Lang 1cd4f5b353 Adds a helper for issue heading (#7647).
git-svn-id: svn+ssh://rubyforge.org/var/svn/redmine/trunk@5447 e93f8b46-1217-0410-a6f0-8f06a7374b81
2011-04-12 19:53:14 +00:00
Jean-Baptiste Barth 17f86d964f Use absolute paths in test/**/* requires for Ruby 1.9.2 compatibility. #4050
git-svn-id: svn+ssh://rubyforge.org/var/svn/redmine/trunk@4509 e93f8b46-1217-0410-a6f0-8f06a7374b81
2010-12-12 23:24:34 +00:00
Eric Davis 1a73f8fa0f Added unit tests for IssuesHelper#show_detail
git-svn-id: svn+ssh://rubyforge.org/var/svn/redmine/trunk@3552 e93f8b46-1217-0410-a6f0-8f06a7374b81
2010-03-08 16:47:47 +00:00