Project

General

Profile

« Previous | Next » 

Revision 6895854c

Added by Stephen Benjamin about 10 years ago

fixes #4256 - makes columns sortable in the UI

View differences:

test/unit/hostgroup_class_test.rb
end
end
end
test "should update hostgroups_count" do
pc = puppetclasses(:two)
assert_difference "pc.hostgroups_count" do
hc = HostgroupClass.create(:puppetclass_id => pc.id, :hostgroup_id => hostgroups(:common).id)
pc.reload
end
end
end

Also available in: Unified diff