Mercurial > hg > soundsoftware-site
diff test/unit/repository_test.rb @ 1494:e248c7af89ec redmine-2.4
Update to Redmine SVN revision 12979 on 2.4-stable branch
author | Chris Cannam |
---|---|
date | Mon, 17 Mar 2014 08:54:02 +0000 |
parents | 261b3d9a4903 |
children | dffacf8a6908 |
line wrap: on
line diff
--- a/test/unit/repository_test.rb Tue Jan 14 14:37:42 2014 +0000 +++ b/test/unit/repository_test.rb Mon Mar 17 08:54:02 2014 +0000 @@ -1,5 +1,5 @@ # Redmine - project management software -# Copyright (C) 2006-2013 Jean-Philippe Lang +# Copyright (C) 2006-2014 Jean-Philippe Lang # # This program is free software; you can redistribute it and/or # modify it under the terms of the GNU General Public License @@ -326,6 +326,12 @@ assert_equal true, klass.scm_available end + def test_extra_info_should_not_return_non_hash_value + repo = Repository.new + repo.extra_info = "foo" + assert_nil repo.extra_info + end + def test_merge_extra_info repo = Repository::Subversion.new(:project => Project.find(3)) assert !repo.save