diff options
author | Jean-Philippe Lang <jp_lang@yahoo.fr> | 2007-04-01 19:43:59 +0000 |
---|---|---|
committer | Jean-Philippe Lang <jp_lang@yahoo.fr> | 2007-04-01 19:43:59 +0000 |
commit | 4ff8386e3dfee800591e7f856a26ccc700149b02 (patch) | |
tree | 75cd4a45ab9e0298299c821029d6066c29bfbc2b /test | |
parent | cb6c8bee473332dfacea8d53745eb75407877a06 (diff) | |
download | redmine-4ff8386e3dfee800591e7f856a26ccc700149b02.tar.gz redmine-4ff8386e3dfee800591e7f856a26ccc700149b02.zip |
Initial commit for svn repository management and access control:
* Identifier attribute added on Project model. Used as the unix group name for the project
* Web services (disabled by default) and scripts for repository management on a remote svn host
git-svn-id: http://redmine.rubyforge.org/svn/trunk@396 e93f8b46-1217-0410-a6f0-8f06a7374b81
Diffstat (limited to 'test')
-rw-r--r-- | test/fixtures/projects.yml | 4 | ||||
-rw-r--r-- | test/integration/admin_test.rb | 2 |
2 files changed, 5 insertions, 1 deletions
diff --git a/test/fixtures/projects.yml b/test/fixtures/projects.yml index 9aa2f9abe..d3758c9e3 100644 --- a/test/fixtures/projects.yml +++ b/test/fixtures/projects.yml @@ -8,6 +8,7 @@ projects_001: description: Recipes management application
homepage: http://ecookbook.somenet.foo/
is_public: true
+ identifier: ecookbook
parent_id:
projects_002:
created_on: 2006-07-19 19:14:19 +02:00
@@ -18,6 +19,7 @@ projects_002: description: E-commerce web site
homepage: ""
is_public: false
+ identifier: onlinestore
parent_id:
projects_003:
created_on: 2006-07-19 19:15:21 +02:00
@@ -28,6 +30,7 @@ projects_003: description: eCookBook Subproject 1
homepage: ""
is_public: true
+ identifier: subproject1
parent_id: 1
projects_004:
created_on: 2006-07-19 19:15:51 +02:00
@@ -38,4 +41,5 @@ projects_004: description: eCookbook Subproject 2
homepage: ""
is_public: true
+ identifier: subproject1
parent_id: 1
diff --git a/test/integration/admin_test.rb b/test/integration/admin_test.rb index 0241ae8da..c51dc1bf1 100644 --- a/test/integration/admin_test.rb +++ b/test/integration/admin_test.rb @@ -45,7 +45,7 @@ class AdminTest < ActionController::IntegrationTest get "projects/add" assert_response :success assert_template "projects/add" - post "projects/add", :project => { :name => "blog", :description => "weblog", :is_public => 1} + post "projects/add", :project => { :name => "blog", :description => "weblog", :identifier => "blog", :is_public => 1} assert_redirected_to "admin/projects" assert_equal 'Successful creation.', flash[:notice] |