scm: darcs: code clean up functional test.
git-svn-id: svn+ssh://rubyforge.org/var/svn/redmine/trunk@6232 e93f8b46-1217-0410-a6f0-8f06a7374b81
This commit is contained in:
parent
173b5ce965
commit
1a1724128b
|
@ -35,8 +35,10 @@ class RepositoriesDarcsControllerTest < ActionController::TestCase
|
||||||
User.current = nil
|
User.current = nil
|
||||||
@project = Project.find(PRJ_ID)
|
@project = Project.find(PRJ_ID)
|
||||||
@repository = Repository::Darcs.create(
|
@repository = Repository::Darcs.create(
|
||||||
:project => @project, :url => REPOSITORY_PATH,
|
:project => @project,
|
||||||
:log_encoding => 'UTF-8')
|
:url => REPOSITORY_PATH,
|
||||||
|
:log_encoding => 'UTF-8'
|
||||||
|
)
|
||||||
assert @repository
|
assert @repository
|
||||||
end
|
end
|
||||||
|
|
||||||
|
|
Loading…
Reference in New Issue