[ARVADOS] created: db2584826ed9aadb162b8bd6d25e164565bbab8b
git at public.curoverse.com
git at public.curoverse.com
Fri Jul 17 10:23:23 EDT 2015
at db2584826ed9aadb162b8bd6d25e164565bbab8b (commit)
commit db2584826ed9aadb162b8bd6d25e164565bbab8b
Author: Manoj <jonam33 at gmail.com>
Date: Fri Jul 17 10:21:28 2015 -0400
6617-Display https url in repositories panel in manage_account page and checks
if https url is being shows in user_manage_account_test.
diff --git a/apps/workbench/app/views/users/_manage_repositories.html.erb b/apps/workbench/app/views/users/_manage_repositories.html.erb
index bcf0d64..b616b6d 100644
--- a/apps/workbench/app/views/users/_manage_repositories.html.erb
+++ b/apps/workbench/app/views/users/_manage_repositories.html.erb
@@ -46,6 +46,7 @@
<%= writable ? 'writable' : 'read-only' %>
</td>
<td style="word-break:break-all;">
+ <code><%= repo.http_fetch_url %></code><br/>
<code><%= writable ? repo.push_url : repo.fetch_url %></code>
</td>
<td>
diff --git a/apps/workbench/test/integration/user_manage_account_test.rb b/apps/workbench/test/integration/user_manage_account_test.rb
index e50907b..cc28b27 100644
--- a/apps/workbench/test/integration/user_manage_account_test.rb
+++ b/apps/workbench/test/integration/user_manage_account_test.rb
@@ -180,5 +180,7 @@ class UserManageAccountTest < ActionDispatch::IntegrationTest
click_on "Create"
end
assert_text ":active/workbenchtest.git"
+ assert_match /git at git.*:active\/workbenchtest.git/, page.text
+ assert_match /https:\/\/git.*\/active\/workbenchtest.git/, page.text
end
end
-----------------------------------------------------------------------
hooks/post-receive
--
More information about the arvados-commits
mailing list