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