CoCalc Logo Icon
StoreFeaturesDocsShareSupportNewsAboutSign UpSign In
rapid7

Real-time collaboration for Jupyter Notebooks, Linux Terminals, LaTeX, VS Code, R IDE, and more,
all in one place.

GitHub Repository: rapid7/metasploit-framework
Path: blob/master/spec/factories/mdm/exported_web_vulns.rb
Views: 11779
1
FactoryBot.define do
2
factory :exported_web_vuln, :parent => :mdm_web_vuln do
3
blame { generate :mdm_web_vuln_blame }
4
description { generate :mdm_web_vuln_description }
5
end
6
7
sequence :mdm_web_vuln_blame do |n|
8
"Blame employee ##{n}"
9
end
10
11
sequence :mdm_web_vuln_description do |n|
12
"Mdm::WebVuln#description #{n}"
13
end
14
end
15
16