@@ -38,8 +38,9 class RepositoriesMercurialControllerTest < ActionController::TestCase | |||||
38 | @request = ActionController::TestRequest.new |
|
38 | @request = ActionController::TestRequest.new | |
39 | @response = ActionController::TestResponse.new |
|
39 | @response = ActionController::TestResponse.new | |
40 | User.current = nil |
|
40 | User.current = nil | |
|
41 | @project = Project.find(PRJ_ID) | |||
41 | @repository = Repository::Mercurial.create( |
|
42 | @repository = Repository::Mercurial.create( | |
42 |
:project => |
|
43 | :project => @project, | |
43 | :url => REPOSITORY_PATH, |
|
44 | :url => REPOSITORY_PATH, | |
44 | :path_encoding => 'ISO-8859-1' |
|
45 | :path_encoding => 'ISO-8859-1' | |
45 | ) |
|
46 | ) |
General Comments 0
You need to be logged in to leave comments.
Login now