[ARVADOS] updated: b0a3771f2110b691882226c559eab736ab9aa34d
git at public.curoverse.com
git at public.curoverse.com
Mon Mar 30 15:16:26 EDT 2015
Summary of changes:
apps/workbench/test/integration/application_layout_test.rb | 5 ++++-
apps/workbench/test/integration/report_issue_test.rb | 5 ++++-
apps/workbench/test/integration/user_profile_test.rb | 3 ++-
services/api/test/functional/arvados/v1/users_controller_test.rb | 6 +++---
4 files changed, 13 insertions(+), 6 deletions(-)
via b0a3771f2110b691882226c559eab736ab9aa34d (commit)
from 1f225f2c8479adcaaa918df25455b69464263b2c (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 b0a3771f2110b691882226c559eab736ab9aa34d
Author: Radhika Chippada <radhika at curoverse.com>
Date: Mon Mar 30 15:15:40 2015 -0400
5493: update tests to use updated fixture active_no_prefs_profile_no_getting_started_shown
diff --git a/apps/workbench/test/integration/application_layout_test.rb b/apps/workbench/test/integration/application_layout_test.rb
index 17b8676..51a4fb2 100644
--- a/apps/workbench/test/integration/application_layout_test.rb
+++ b/apps/workbench/test/integration/application_layout_test.rb
@@ -108,7 +108,10 @@ class ApplicationLayoutTest < ActionDispatch::IntegrationTest
['active', api_fixture('users')['active'], true, true],
['admin', api_fixture('users')['admin'], true, true],
['active_no_prefs', api_fixture('users')['active_no_prefs'], true, false],
- ['active_no_prefs_profile', api_fixture('users')['active_no_prefs_profile'], true, false],
+ ['active_no_prefs_profile_no_getting_started_shown',
+ api_fixture('users')['active_no_prefs_profile_no_getting_started_shown'], true, false],
+ ['active_no_prefs_profile_with_getting_started_shown',
+ api_fixture('users')['active_no_prefs_profile_with_getting_started_shown'], true, false],
].each do |token, user, invited, has_profile|
test "visit home page for user #{token}" do
diff --git a/apps/workbench/test/integration/report_issue_test.rb b/apps/workbench/test/integration/report_issue_test.rb
index 4a15851..732b778 100644
--- a/apps/workbench/test/integration/report_issue_test.rb
+++ b/apps/workbench/test/integration/report_issue_test.rb
@@ -84,7 +84,10 @@ class ReportIssueTest < ActionDispatch::IntegrationTest
['active', api_fixture('users')['active']],
['admin', api_fixture('users')['admin']],
['active_no_prefs', api_fixture('users')['active_no_prefs']],
- ['active_no_prefs_profile', api_fixture('users')['active_no_prefs_profile']],
+ ['active_no_prefs_profile_no_getting_started_shown',
+ api_fixture('users')['active_no_prefs_profile_no_getting_started_shown']],
+ ['active_no_prefs_profile_with_getting_started_shown',
+ api_fixture('users')['active_no_prefs_profile_with_getting_started_shown']],
].each do |token, user|
test "check version info and report issue for user #{token}" do
diff --git a/apps/workbench/test/integration/user_profile_test.rb b/apps/workbench/test/integration/user_profile_test.rb
index 21d9385..3d17fd2 100644
--- a/apps/workbench/test/integration/user_profile_test.rb
+++ b/apps/workbench/test/integration/user_profile_test.rb
@@ -126,7 +126,8 @@ class UserProfileTest < ActionDispatch::IntegrationTest
['active', api_fixture('users')['active'], true, true],
['admin', api_fixture('users')['admin'], true, true],
['active_no_prefs', api_fixture('users')['active_no_prefs'], true, false],
- ['active_no_prefs_profile', api_fixture('users')['active_no_prefs_profile'], true, false],
+ ['active_no_prefs_profile_no_getting_started_shown',
+ api_fixture('users')['active_no_prefs_profile_no_getting_started_shown'], true, false],
['active_no_prefs_profile_with_getting_started_shown',
api_fixture('users')['active_no_prefs_profile_with_getting_started_shown'], true, false, true],
].each do |token, user, invited, has_profile|
diff --git a/services/api/test/functional/arvados/v1/users_controller_test.rb b/services/api/test/functional/arvados/v1/users_controller_test.rb
index 2d26370..0b5ff72 100644
--- a/services/api/test/functional/arvados/v1/users_controller_test.rb
+++ b/services/api/test/functional/arvados/v1/users_controller_test.rb
@@ -740,17 +740,17 @@ class Arvados::V1::UsersControllerTest < ActionController::TestCase
authorize_with :admin
user = {}
- user[:prefs] = users(:active_no_prefs_profile).prefs
+ user[:prefs] = users(:active_no_prefs_profile_no_getting_started_shown).prefs
user[:prefs][:profile] = {:profile => {'organization' => 'example.com'}}
put :update, {
- id: users(:active_no_prefs_profile).uuid,
+ id: users(:active_no_prefs_profile_no_getting_started_shown).uuid,
user: user
}
assert_response :success
found_email = false
ActionMailer::Base.deliveries.andand.each do |email|
- if email.subject == "Profile created by #{users(:active_no_prefs_profile).email}"
+ if email.subject == "Profile created by #{users(:active_no_prefs_profile_no_getting_started_shown).email}"
found_email = true
break
end
-----------------------------------------------------------------------
hooks/post-receive
--
More information about the arvados-commits
mailing list