[ARVADOS] updated: 95135f30f13fe233da5d8713737561f77a97c6b6
git at public.curoverse.com
git at public.curoverse.com
Mon Aug 3 14:55:18 EDT 2015
Summary of changes:
apps/workbench/test/controllers/projects_controller_test.rb | 5 +++--
1 file changed, 3 insertions(+), 2 deletions(-)
via 95135f30f13fe233da5d8713737561f77a97c6b6 (commit)
from 9b3223e5cbcd1eb89193e8421d430025ddf791d1 (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 95135f30f13fe233da5d8713737561f77a97c6b6
Author: Manoj <jonam33 at gmail.com>
Date: Mon Aug 3 14:52:02 2015 -0400
6414: Added an assertion to test if objects are equal.
diff --git a/apps/workbench/test/controllers/projects_controller_test.rb b/apps/workbench/test/controllers/projects_controller_test.rb
index 51a4e37..afcba93 100644
--- a/apps/workbench/test/controllers/projects_controller_test.rb
+++ b/apps/workbench/test/controllers/projects_controller_test.rb
@@ -400,10 +400,11 @@ class ProjectsControllerTest < ActionController::TestCase
test "visit a public project and verify the public projects page link exists" do
Rails.configuration.anonymous_user_token = api_fixture('api_client_authorizations')['anonymous']['api_token']
- get :show, {id: api_fixture('groups')['anonymously_accessible_project']['uuid']}
+ uuid = api_fixture('groups')['anonymously_accessible_project']['uuid']
+ get :show, {id: uuid}
project = assigns(:object)
+ assert_equal uuid, project['uuid']
refute_empty css_select("[href=\"/projects/#{project['uuid']}\"]")
assert_includes @response.body, "<a href=\"/projects/public\">Public Projects</a>"
end
-
end
-----------------------------------------------------------------------
hooks/post-receive
--
More information about the arvados-commits
mailing list