Revision 288c5c13
Added by Joseph Magen over 10 years ago
app/views/compute_resources/index.html.erb | ||
---|---|---|
<% title _("Listing compute resources") %>
|
||
<% title _("Compute Resources") %>
|
||
<% title_actions display_link_if_authorized(_("New Compute Resource"), hash_for_new_compute_resource_path), help_path %>
|
||
|
||
<table class="table table-bordered table-striped">
|
app/views/smart_proxies/index.html.erb | ||
---|---|---|
<% title _("Proxies") %>
|
||
<% title _("Smart Proxies") %>
|
||
|
||
<% title_actions display_link_if_authorized(_("New Proxy"), hash_for_new_smart_proxy_path) %>
|
||
<% title_actions display_link_if_authorized(_("New Smart Proxy"), hash_for_new_smart_proxy_path) %>
|
||
|
||
|
||
<table class="table table-bordered table-striped table-two-pane">
|
test/integration/compute_resource_test.rb | ||
---|---|---|
class ComputeResourceTest < ActionDispatch::IntegrationTest
|
||
|
||
test "index page" do
|
||
assert_index_page(compute_resources_path,"Listing compute resources","New Compute Resource")
|
||
assert_index_page(compute_resources_path,"Compute Resources","New Compute Resource")
|
||
end
|
||
|
||
test "edit compute resource" do
|
test/integration/smart_proxy_test.rb | ||
---|---|---|
class SmartProxyTest < ActionDispatch::IntegrationTest
|
||
|
||
test "index page" do
|
||
assert_index_page(smart_proxies_path,"Proxies","New Proxy",false)
|
||
assert_index_page(smart_proxies_path,"Smart Proxies","New Smart Proxy",false)
|
||
end
|
||
|
||
test "create new page" do
|
||
assert_new_button(smart_proxies_path,"New Proxy",new_smart_proxy_path)
|
||
assert_new_button(smart_proxies_path,"New Smart Proxy",new_smart_proxy_path)
|
||
fill_in "smart_proxy_name", :with => "DNS Worldwide"
|
||
fill_in "smart_proxy_url", :with => "http://dns.example.com"
|
||
assert_submit_button(smart_proxies_path)
|
Also available in: Unified diff
fixes #3937 - correct title wording for Compute Resources and Smart Proxies