Browse Source

scm: filesystem: add instance variable @project at functional test.

git-svn-id: svn+ssh://rubyforge.org/var/svn/redmine/trunk@6237 e93f8b46-1217-0410-a6f0-8f06a7374b81
tags/1.3.0
Toshi MARUYAMA 13 years ago
parent
commit
7a8a98bd93
1 changed files with 2 additions and 1 deletions
  1. 2
    1
      test/functional/repositories_filesystem_controller_test.rb

+ 2
- 1
test/functional/repositories_filesystem_controller_test.rb View File

@@ -36,8 +36,9 @@ class RepositoriesFilesystemControllerTest < ActionController::TestCase
@response = ActionController::TestResponse.new
User.current = nil
Setting.enabled_scm << 'Filesystem' unless Setting.enabled_scm.include?('Filesystem')
@project = Project.find(PRJ_ID)
@repository = Repository::Filesystem.create(
:project => Project.find(PRJ_ID),
:project => @project,
:url => REPOSITORY_PATH,
:path_encoding => ''
)

Loading…
Cancel
Save