[ARVADOS] updated: 6d1fb016135e6126c1d5c17ca02f210ba98dfc13
git at public.curoverse.com
git at public.curoverse.com
Tue Jul 21 11:23:02 EDT 2015
Summary of changes:
apps/workbench/Gemfile.lock | 3 ++
.../app/controllers/application_controller.rb | 1 +
.../app/views/users/_manage_repositories.html.erb | 1 +
apps/workbench/config/load_config.rb | 12 ++++++--
.../test/controllers/projects_controller_test.rb | 31 ++++++++++++++++++++
.../test/integration/application_layout_test.rb | 8 ++++++
apps/workbench/test/integration/projects_test.rb | 32 ---------------------
.../test/integration/user_manage_account_test.rb | 2 ++
doc/images/add-new-repository.png | Bin 10026 -> 9575 bytes
doc/images/added-new-repository.png | Bin 0 -> 14210 bytes
.../install-arv-git-httpd.html.textile.liquid | 24 ++++++++--------
.../install-shell-server.html.textile.liquid | 13 +++++++++
.../add-new-repository.html.textile.liquid | 10 ++++---
.../tutorial-submit-job.html.textile.liquid | 13 +++++++--
sdk/python/arvados/util.py | 18 ++++++------
sdk/python/tests/run_test_server.py | 7 +++--
sdk/python/tests/test_util.py | 18 ++++++++++--
17 files changed, 126 insertions(+), 67 deletions(-)
create mode 100644 doc/images/added-new-repository.png
via 6d1fb016135e6126c1d5c17ca02f210ba98dfc13 (commit)
via c4c8e9b0350aedf985dd99168ce6d3b5afb60acb (commit)
via 6a2f46b152dd122df40012a487b4f4c2f5e37197 (commit)
via cd25f265349e86fab2fbe81959747ce112986806 (commit)
via 2ad8f9ccb5d02e76437e48f2193fbacc4a9ca2ad (commit)
via b23101649f5320c7f4f5c68f3d7745373e316249 (commit)
via ee29db4af2c800924fa06b7bbc1f3058ba3cfb94 (commit)
via 70e832c1c5976614c4da5c2987ecba7217c3e83a (commit)
via e0ab53eaacc78f74e3f446f2cd5f58b8add29898 (commit)
via f7c152d3ca9a753812bd7729ceb6cb8a23b12fce (commit)
via 0b19163c8633defab5988f8b775833d3358ebaaf (commit)
via 4a35a164fcddb66e04df2afe4686783fd3b35510 (commit)
via edb109c244d25fb9a963a2146953710fd4d77099 (commit)
via caa9e89d531f03838e64d36d050be9d96e7c6c96 (commit)
via 1d5e009a31e0b462b7bfcf4c0e5dc36db423c90f (commit)
via 78e3248417510aecbac9e66a22d48e32a80181bf (commit)
via 61187968f0e9268430b967ce37a79d9384ec7e3c (commit)
via 77aeb6fdedab3d2aac25120e5a99317155c9f26e (commit)
via 94afae23dd927b2d9d6c3472f90bc00f0310bbf5 (commit)
via a1e6ebc7e1afc04e8a1de0c0bb8e304eda6ecf2c (commit)
via 706f34d335cecb9f321dda8abaf8718fa951e908 (commit)
via 9ac57b0bc6cb5d90da57c943df489401c63b7a7f (commit)
via acacdd86095218aa2bb4cc4cd564d9d7f135da3c (commit)
via 702ce6c3da9a1b09a2ed546fd3da775d21bd703b (commit)
via db2584826ed9aadb162b8bd6d25e164565bbab8b (commit)
via 6ba447b83ef96f0f52db5eebd04fd22e5a0e1c74 (commit)
via 12ca84522ca29c237c477ab1974299d04715b09d (commit)
via 25e646a708d1d91aebcf8db80b8ae1fafa044034 (commit)
via 041af47977925c319ad3b6a809089eb64ffdd738 (commit)
via c790738ae71771a5574b166b3e93a1bca9b89bf6 (commit)
via ed8897b942f147afccf8eeac1025861ffe2f1690 (commit)
via 318e3d183c3800863731a20a10f1b8bf9cc82280 (commit)
from 7253b0d4cdf9612a4c0de0ca849979cec5e8d382 (commit)
Those revisions listed above that are new to this repository have
not appeared on any other notification email; so we list those
revisions in full, below.
commit 6d1fb016135e6126c1d5c17ca02f210ba98dfc13
Author: Manoj <jonam33 at gmail.com>
Date: Tue Jul 21 11:21:54 2015 -0400
6465: Removed two tests from projects test and added two to projects
controller test.
diff --git a/apps/workbench/test/controllers/projects_controller_test.rb b/apps/workbench/test/controllers/projects_controller_test.rb
index 4be4c08..cb4ef99 100644
--- a/apps/workbench/test/controllers/projects_controller_test.rb
+++ b/apps/workbench/test/controllers/projects_controller_test.rb
@@ -370,4 +370,31 @@ class ProjectsControllerTest < ActionController::TestCase
assert_includes @response.body, '<div id="Data_collections"'
end
end
+
+ [
+ ['admin',true],
+ ['active',true],
+ ['project_viewer',false],
+ ].each do |user, can_move|
+ test "#{user} can move subproject from project #{can_move}" do
+ get(:show, {id: api_fixture('groups')['aproject']['uuid']}, session_for(user))
+ if can_move
+ assert_includes @response.body, 'Move project...'
+ else
+ refute_includes @response.body, 'Move project...'
+ end
+ end
+ end
+
+ [
+ ["jobs", "/jobs"],
+ ["pipelines", "/pipeline_instances"],
+ ["collections", "/collections"],
+ ].each do |target,path|
+ test "test dashboard button all #{target}" do
+ get :index, {}, session_for(:active)
+ refute_empty css_select("[href=\"#{path}\"]")
+ assert_includes @response.body, "All #{target}"
+ end
+ end
end
diff --git a/apps/workbench/test/integration/projects_test.rb b/apps/workbench/test/integration/projects_test.rb
index e6eaa7f..dc54b8d 100644
--- a/apps/workbench/test/integration/projects_test.rb
+++ b/apps/workbench/test/integration/projects_test.rb
@@ -408,18 +408,6 @@ class ProjectsTest < ActionDispatch::IntegrationTest
end
end
- [
- ["jobs", "/jobs"],
- ["pipelines", "/pipeline_instances"],
- ["collections", "/collections"]
- ].each do |target,path|
- test "Test dashboard button all #{target}" do
- visit page_with_token 'active', '/'
- click_link "All #{target}"
- assert_equal path, current_path
- end
- end
-
def scroll_setup(project_name,
total_nbr_items,
item_list_parameter,
@@ -542,26 +530,6 @@ class ProjectsTest < ActionDispatch::IntegrationTest
end
end
- # Move button accessibility
- [
- ['admin', true],
- ['active', true], # project owner
- ['project_viewer', false],
- ].each do |user, can_move|
- test "#{user} can move subproject under another user's Home #{can_move}" do
- project = api_fixture('groups')['aproject']
- collection = api_fixture('collections')['collection_to_move_around_in_aproject']
-
- # verify the project move button
- visit page_with_token user, "/projects/#{project['uuid']}"
- if can_move
- assert page.has_link? 'Move project...'
- else
- assert page.has_no_link? 'Move project...'
- end
- end
- end
-
test "error while loading tab" do
original_arvados_v1_base = Rails.configuration.arvados_v1_base
-----------------------------------------------------------------------
hooks/post-receive
--
More information about the arvados-commits
mailing list