summaryrefslogtreecommitdiffstats
path: root/test/unit/repository_test.rb
diff options
context:
space:
mode:
authorJean-Philippe Lang <jp_lang@yahoo.fr>2009-09-20 14:06:57 +0000
committerJean-Philippe Lang <jp_lang@yahoo.fr>2009-09-20 14:06:57 +0000
commit21e18c1eb4ac6a882c57ee3df2225851da23a57f (patch)
tree8889e4351130e1528ebb6bef07538c71f70d826f /test/unit/repository_test.rb
parent52a6b0a21e5e28da4ed590383ae778c306cfaf1b (diff)
downloadredmine-21e18c1eb4ac6a882c57ee3df2225851da23a57f.tar.gz
redmine-21e18c1eb4ac6a882c57ee3df2225851da23a57f.zip
Adds missing native eol properties.
git-svn-id: svn+ssh://rubyforge.org/var/svn/redmine/trunk@2895 e93f8b46-1217-0410-a6f0-8f06a7374b81
Diffstat (limited to 'test/unit/repository_test.rb')
-rw-r--r--test/unit/repository_test.rb8
1 files changed, 4 insertions, 4 deletions
diff --git a/test/unit/repository_test.rb b/test/unit/repository_test.rb
index cc356ec1d..6512c067a 100644
--- a/test/unit/repository_test.rb
+++ b/test/unit/repository_test.rb
@@ -32,17 +32,17 @@ class RepositoryTest < ActiveSupport::TestCase
def setup
@repository = Project.find(1).repository
end
-
- def test_create
+
+ def test_create
repository = Repository::Subversion.new(:project => Project.find(3))
assert !repository.save
- repository.url = "svn://localhost"
+ repository.url = "svn://localhost"
assert repository.save
repository.reload
project = Project.find(3)
- assert_equal repository, project.repository
+ assert_equal repository, project.repository
end
def test_destroy