]> source.dussan.org Git - redmine.git/commitdiff
code layout cleanup test/unit/repository_test.rb
authorToshi MARUYAMA <marutosijp2@yahoo.co.jp>
Fri, 24 Feb 2012 04:09:06 +0000 (04:09 +0000)
committerToshi MARUYAMA <marutosijp2@yahoo.co.jp>
Fri, 24 Feb 2012 04:09:06 +0000 (04:09 +0000)
git-svn-id: svn+ssh://rubyforge.org/var/svn/redmine/trunk@8958 e93f8b46-1217-0410-a6f0-8f06a7374b81

test/unit/repository_test.rb

index 04f788117a0eabf4557f5cd2ed7a88b1e2d8e2aa..18a369a0f0790b3d41426977fc942b3c2d2f43a4 100644 (file)
@@ -77,11 +77,19 @@ class RepositoryTest < ActiveSupport::TestCase
   end
 
   def test_first_repository_should_be_set_as_default
-    repository1 = Repository::Subversion.new(:project => Project.find(3), :identifier => 'svn1', :url => 'file:///svn1')
+    repository1 = Repository::Subversion.new(
+                      :project => Project.find(3),
+                      :identifier => 'svn1',
+                      :url => 'file:///svn1'
+                    )
     assert repository1.save
     assert repository1.is_default?
 
-    repository2 = Repository::Subversion.new(:project => Project.find(3), :identifier => 'svn2', :url => 'file:///svn2')
+    repository2 = Repository::Subversion.new(
+                      :project => Project.find(3),
+                      :identifier => 'svn2',
+                      :url => 'file:///svn2'
+                    )
     assert repository2.save
     assert !repository2.is_default?