Sha256: 4d1d54268305300d26789aff78b8162e05a1be9fe34acde3161277eea700826c
Contents?: true
Size: 699 Bytes
Versions: 4
Compression:
Stored size: 699 Bytes
Contents
module Pageflow module Chart FactoryBot.define do factory :scraped_site, class: 'Pageflow::Chart::ScrapedSite' do url { 'MyString' } trait :processed do state { 'processed' } javascript_file { File.open(Engine.root.join('spec', 'fixtures', 'all.js')) } javascript_body_file { File.open(Engine.root.join('spec', 'fixtures', 'all_body.js')) } stylesheet_file { File.open(Engine.root.join('spec', 'fixtures', 'all.css')) } html_file { File.open(Engine.root.join('spec', 'fixtures', 'index.html')) } csv_file { File.open(Engine.root.join('spec', 'fixtures', 'data.csv')) } end end end end end
Version data entries
4 entries across 4 versions & 1 rubygems