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:
Toshi MARUYAMA 2011-07-10 22:51:00 +00:00
parent 173b5ce965
commit 1a1724128b
1 changed files with 4 additions and 2 deletions

View File

@ -35,8 +35,10 @@ class RepositoriesDarcsControllerTest < ActionController::TestCase
User.current = nil
@project = Project.find(PRJ_ID)
@repository = Repository::Darcs.create(
:project => @project, :url => REPOSITORY_PATH,
:log_encoding => 'UTF-8')
:project => @project,
:url => REPOSITORY_PATH,
:log_encoding => 'UTF-8'
)
assert @repository
end