Sha256: 2af5173522312f33fa094ba2dcf5ac99acf98e90a88f056b7fc0d7caacef09e1
Contents?: true
Size: 408 Bytes
Versions: 14
Compression:
Stored size: 408 Bytes
Contents
Factory.define :page do Arachni::Page.new( response: Factory[:response], dom: Factory[:dom_data] # Load all elements to populate metadata and the like but clear the cache. ).tap(&:elements).tap(&:clear_cache) end Factory.define :empty_page do Arachni::Page.from_data( response: { code: 0, url: Factory[:response].url } ) end
Version data entries
14 entries across 14 versions & 1 rubygems