Revision 751e9406
Added by Avi Sharvit almost 6 years ago
app/views/hostgroups/index.html.erb | ||
---|---|---|
|
||
<% title_actions csv_link, new_link(_("Create Host Group")), help_button %>
|
||
|
||
<table class="<%= table_css_classes 'table-fixed' %>">
|
||
<table class="<%= table_css_classes 'table-fixed' %>" data-history-url='<%= hostgroups_path %>'>
|
||
<thead>
|
||
<tr>
|
||
<th><%= sort :label, :as => _('Hostgroup|Name') %></th>
|
test/integration/hostgroup_js_test.rb | ||
---|---|---|
host = Hostgroup.where(:name => "myhostgroup1").first
|
||
assert host
|
||
assert_equal env.name, host.environment.name
|
||
assert page.has_current_path? hostgroups_path
|
||
end
|
||
|
||
describe 'edit form' do
|
Also available in: Unified diff
Fixes #24303 - New hostgroup after submit path
Change the url to hostgroups_path
after creating a new hostgroup