Revision 69574756
Added by Tomer Brisker almost 6 years ago
test/models/concerns/audit_search_test.rb | ||
---|---|---|
FactoryBot.create(:ec2_cr, :with_auditing)
|
||
refute_empty Audit.search_for("type = compute_resource")
|
||
end
|
||
|
||
test "search for type=subnet in audit" do
|
||
FactoryBot.create(:subnet_ipv4, :with_auditing)
|
||
refute_empty Audit.search_for("type = subnet")
|
||
end
|
||
end
|
Also available in: Unified diff
Fixes #24291 - Allow searching audits by subnet