Sha256: bfa3fb8ed703543e7c12f10fa91dc72658cf1f4e01321eeb6ce1a57f67bc0f92
Contents?: true
Size: 1.05 KB
Versions: 8
Compression:
Stored size: 1.05 KB
Contents
Factory.define :report_data do { options: Arachni::Options.to_hash, sitemap: { Arachni::Options.url => 200 }, issues: (0..10).map do |i| [ Factory[:passive_issue].tap { |issue| issue.vector.action += i.to_s }, Factory[:active_issue].tap { |issue| issue.vector.action += i.to_s } ] end.flatten, plugins: { plugin_name: { results: 'stuff', options: [ Arachni::Component::Options::MultipleChoice.new( 'some_name', description: 'Some description.', default: 'default_value', choices: %w(available values go here) ) ] } }, start_datetime: Time.now - 10_000, finish_datetime: Time.now } end Factory.define :report do Arachni::Report.new Factory[:report_data] end Factory.define :report_empty do Arachni::Report.new end
Version data entries
8 entries across 8 versions & 1 rubygems