diff options
Diffstat (limited to 'test')
-rw-r--r-- | test/functional/repositories_subversion_controller_test.rb | 9 |
1 files changed, 6 insertions, 3 deletions
diff --git a/test/functional/repositories_subversion_controller_test.rb b/test/functional/repositories_subversion_controller_test.rb index be40cc70e..027e21fad 100644 --- a/test/functional/repositories_subversion_controller_test.rb +++ b/test/functional/repositories_subversion_controller_test.rb @@ -565,9 +565,12 @@ class RepositoriesSubversionControllerTest < Redmine::RepositoryControllerTest def test_destroy_invalid_repository @request.session[:user_id] = 1 # admin @project.repository.destroy - @repository = Repository::Subversion.create!( - :project => @project, - :url => "file:///invalid") + @repository = + Repository::Subversion. + create!( + :project => @project, + :url => "file:///invalid" + ) @repository.fetch_changesets assert_equal 0, @repository.changesets.count |