mirror of
https://github.com/meineerde/redmine.git
synced 2025-12-21 16:01:14 +00:00
cleanup: rubocop: fix Layout/ClosingParenthesisIndentation in test/functional/repositories_git_controller_test.rb
git-svn-id: http://svn.redmine.org/redmine/trunk@19230 e93f8b46-1217-0410-a6f0-8f06a7374b81
This commit is contained in:
parent
b4bcf64dc7
commit
d535dd8355
@ -36,7 +36,9 @@ class RepositoriesGitControllerTest < Redmine::RepositoryControllerTest
|
|||||||
|
|
||||||
User.current = nil
|
User.current = nil
|
||||||
@project = Project.find(PRJ_ID)
|
@project = Project.find(PRJ_ID)
|
||||||
@repository = Repository::Git.create(
|
@repository =
|
||||||
|
Repository::Git.
|
||||||
|
create(
|
||||||
:project => @project,
|
:project => @project,
|
||||||
:url => REPOSITORY_PATH,
|
:url => REPOSITORY_PATH,
|
||||||
:path_encoding => 'ISO-8859-1'
|
:path_encoding => 'ISO-8859-1'
|
||||||
@ -391,7 +393,9 @@ class RepositoriesGitControllerTest < Redmine::RepositoryControllerTest
|
|||||||
end
|
end
|
||||||
|
|
||||||
def test_diff_path_in_subrepo
|
def test_diff_path_in_subrepo
|
||||||
repo = Repository::Git.create(
|
repo =
|
||||||
|
Repository::Git.
|
||||||
|
create(
|
||||||
:project => @project,
|
:project => @project,
|
||||||
:url => REPOSITORY_PATH,
|
:url => REPOSITORY_PATH,
|
||||||
:identifier => 'test-diff-path',
|
:identifier => 'test-diff-path',
|
||||||
@ -653,7 +657,9 @@ class RepositoriesGitControllerTest < Redmine::RepositoryControllerTest
|
|||||||
def test_destroy_invalid_repository
|
def test_destroy_invalid_repository
|
||||||
@request.session[:user_id] = 1 # admin
|
@request.session[:user_id] = 1 # admin
|
||||||
@project.repository.destroy
|
@project.repository.destroy
|
||||||
@repository = Repository::Git.create!(
|
@repository =
|
||||||
|
Repository::Git.
|
||||||
|
create!(
|
||||||
:project => @project,
|
:project => @project,
|
||||||
:url => "/invalid",
|
:url => "/invalid",
|
||||||
:path_encoding => 'ISO-8859-1'
|
:path_encoding => 'ISO-8859-1'
|
||||||
|
|||||||
Loading…
x
Reference in New Issue
Block a user