summaryrefslogtreecommitdiffstats
path: root/test/unit/repository_darcs_test.rb
Commit message (Collapse)AuthorAgeFilesLines
* update copyright year (#15977)Toshi MARUYAMA2014-01-291-1/+1
| | | | | | Contributed by Daniel Felix. git-svn-id: http://svn.redmine.org/redmine/trunk@12736 e93f8b46-1217-0410-a6f0-8f06a7374b81
* remove unneeded Relation#all from RepositoryDarcsTestToshi MARUYAMA2014-01-091-1/+1
| | | | git-svn-id: http://svn.redmine.org/redmine/trunk@12575 e93f8b46-1217-0410-a6f0-8f06a7374b81
* Rails4: scm: reload repository after destroying changesets in incremental ↵Toshi MARUYAMA2013-12-291-0/+1
| | | | | | fetch test git-svn-id: http://svn.redmine.org/redmine/trunk@12472 e93f8b46-1217-0410-a6f0-8f06a7374b81
* Copyright for 2013 (#12788).Jean-Philippe Lang2013-01-121-1/+1
| | | | | | Patch by Daniel Felix. git-svn-id: svn+ssh://rubyforge.org/var/svn/redmine/trunk@11169 e93f8b46-1217-0410-a6f0-8f06a7374b81
* Replaces find(:all) calls.Jean-Philippe Lang2012-12-021-1/+1
| | | | git-svn-id: svn+ssh://rubyforge.org/var/svn/redmine/trunk@10917 e93f8b46-1217-0410-a6f0-8f06a7374b81
* Fixed that Repository#entries returns an Array.Jean-Philippe Lang2012-06-101-0/+5
| | | | git-svn-id: svn+ssh://rubyforge.org/var/svn/redmine/trunk@9804 e93f8b46-1217-0410-a6f0-8f06a7374b81
* Renamed #changes association to #filechanges (clash with AR::Base.changes ↵Jean-Philippe Lang2012-06-031-1/+1
| | | | | | that triggers errors with Rails 3.2.5). git-svn-id: svn+ssh://rubyforge.org/var/svn/redmine/trunk@9759 e93f8b46-1217-0410-a6f0-8f06a7374b81
* Copyright update.Jean-Philippe Lang2012-05-051-1/+1
| | | | git-svn-id: svn+ssh://rubyforge.org/var/svn/redmine/trunk@9636 e93f8b46-1217-0410-a6f0-8f06a7374b81
* scm: darcs: add test to override human_attribute_name of "path to repository"Toshi MARUYAMA2012-02-241-0/+28
| | | | git-svn-id: svn+ssh://rubyforge.org/var/svn/redmine/trunk@8959 e93f8b46-1217-0410-a6f0-8f06a7374b81
* Rails3: scm: darcs: fix error of test_cat at unit model testToshi MARUYAMA2011-09-121-0/+3
| | | | | | | On Rails 3.1, ActiveRecord::HasManyThroughCantAssociateThroughHasOneOrManyReflection error raises. For more details, see r7062. git-svn-id: svn+ssh://rubyforge.org/var/svn/redmine/trunk@7121 e93f8b46-1217-0410-a6f0-8f06a7374b81
* Rails3: scm: darcs: fix error of test_deleted_files_should_not_be_listed at ↵Toshi MARUYAMA2011-09-121-1/+3
| | | | | | | | | 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@7120 e93f8b46-1217-0410-a6f0-8f06a7374b81
* Rails3: scm: darcs: fix error of test_entries_invalid_revision at unit model ↵Toshi MARUYAMA2011-09-121-1/+3
| | | | | | | | | 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@7119 e93f8b46-1217-0410-a6f0-8f06a7374b81
* Rails3: scm: darcs: fix error of test_fetch_changesets_incremental at unit ↵Toshi MARUYAMA2011-09-121-2/+7
| | | | | | | | | 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@7118 e93f8b46-1217-0410-a6f0-8f06a7374b81
* Rails3: scm: darcs: fix error of test_fetch_changesets_from_scratch at unit ↵Toshi MARUYAMA2011-09-111-2/+3
| | | | | | | | | 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@7093 e93f8b46-1217-0410-a6f0-8f06a7374b81
* scm: darcs: define NUM_REV as the number of test repository revisions at ↵Toshi MARUYAMA2011-09-111-0/+1
| | | | | | unit model test git-svn-id: svn+ssh://rubyforge.org/var/svn/redmine/trunk@7092 e93f8b46-1217-0410-a6f0-8f06a7374b81
* scm: darcs: replace RAILS_ROOT to Rails.root in unit model test.Toshi MARUYAMA2011-06-101-4/+5
| | | | git-svn-id: svn+ssh://rubyforge.org/var/svn/redmine/trunk@6048 e93f8b46-1217-0410-a6f0-8f06a7374b81
* scm: darcs: remove trailing white-spaces from unit model test.Toshi MARUYAMA2011-06-101-6/+6
| | | | git-svn-id: svn+ssh://rubyforge.org/var/svn/redmine/trunk@6040 e93f8b46-1217-0410-a6f0-8f06a7374b81
* scm: darcs: add entries test in invalid revision in model.Toshi MARUYAMA2011-04-121-0/+6
| | | | git-svn-id: svn+ssh://rubyforge.org/var/svn/redmine/trunk@5435 e93f8b46-1217-0410-a6f0-8f06a7374b81
* scm: add feature of per project repository log encoding setting (#1735).Toshi MARUYAMA2011-03-011-1/+3
| | | | | | Subversion, Mercurial and Git supports UTF-8 log. git-svn-id: svn+ssh://rubyforge.org/var/svn/redmine/trunk@4982 e93f8b46-1217-0410-a6f0-8f06a7374b81
* scm: darcs: change project id of unit app test from 1 to 3.Toshi MARUYAMA2011-03-011-8/+11
| | | | | | Project id 1 has Subversion fixtures. git-svn-id: svn+ssh://rubyforge.org/var/svn/redmine/trunk@4978 e93f8b46-1217-0410-a6f0-8f06a7374b81
* repository: switch darcs cat test if cat supports.Toshi MARUYAMA2011-01-011-5/+7
| | | | git-svn-id: svn+ssh://rubyforge.org/var/svn/redmine/trunk@4608 e93f8b46-1217-0410-a6f0-8f06a7374b81
* Use absolute paths in test/**/* requires for Ruby 1.9.2 compatibility. #4050Jean-Baptiste Barth2010-12-121-1/+1
| | | | git-svn-id: svn+ssh://rubyforge.org/var/svn/redmine/trunk@4509 e93f8b46-1217-0410-a6f0-8f06a7374b81
* Upgraded to Rails 2.3.4 (#3597)Eric Davis2009-09-131-1/+1
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | * Ran the Rails upgrade * Upgraded to Rails Engines 2.3.2 * Added a plugin to let Engines override application views. * Converted tests to use the new classes: ** ActionController::TestCase for functional ** ActiveSupport::TestCase for units * Converted ActiveRecord::Error message to a string. * ActiveRecord grouping returns an ordered hash which doesn't have #sort! * Updated the I18n storage_units format. * Added some default initializers from a fresh rails app * Changed the order of check_box_tags and hidden_field_tags. The hidden tag needs to appear first in Rails 2.3, otherwise it will override any value in the check_box_tag. * Removed the custom handler for when the cookie store is tampered with. Rails 2.3 removed the TamperedWithCookie exception and instead Rails will not load the data from it when it's been tampered with (e.g. no user login). * Fixed mail layouts, 2.3 has problems with implicit multipart emails that use layouts. Also removed some custom Redmine mailer code. * Fixed a bug that occurred in tests where the "required" span tag would be added to the :field_status translation. This resulted in an email string of: <li>Status<span class="required"> *</span><span class="required"> *</span> Instead of: <li>Status: New</li> git-svn-id: svn+ssh://rubyforge.org/var/svn/redmine/trunk@2887 e93f8b46-1217-0410-a6f0-8f06a7374b81
* Fixed: deleted files should not be shown when browsing a Darcs repository ↵Jean-Philippe Lang2008-12-271-0/+6
| | | | | | (#2385). git-svn-id: svn+ssh://rubyforge.org/var/svn/redmine/trunk@2189 e93f8b46-1217-0410-a6f0-8f06a7374b81
* Adds support for file viewing with Darcs 2.0+ (patch #1799 by Ralph Lange ↵Jean-Philippe Lang2008-08-251-0/+7
| | | | | | slightly edited). git-svn-id: http://redmine.rubyforge.org/svn/trunk@1759 e93f8b46-1217-0410-a6f0-8f06a7374b81
* Postgresql 8.3 compatibility fix (#834).Jean-Philippe Lang2008-04-261-2/+2
| | | | git-svn-id: http://redmine.rubyforge.org/svn/trunk@1363 e93f8b46-1217-0410-a6f0-8f06a7374b81
* Merged Git support branch (r1200 to r1226).Jean-Philippe Lang2008-03-121-0/+55
git-svn-id: http://redmine.rubyforge.org/svn/trunk@1236 e93f8b46-1217-0410-a6f0-8f06a7374b81