Sha256: 8009a3f6bb7562138d95ab078dd3226e4906e0dbf31005c09065f76f591aa44b

Contents?: true

Size: 532 Bytes

Versions: 24

Compression:

Stored size: 532 Bytes

Contents

# Read about factories at https://github.com/thoughtbot/factory_girl

d = { "status" => "success" }
FactoryGirl.define do
  factory :job_data,class: Rearview::JobData do
    job
    created_at                    Time.now.utc
    updated_at                    Time.now.utc
    data({ "status" => "success", "output" => "yo", "graph_data" => {"stats_counts.cupcake.web_traffic.impression" => [[1368035700,66.0],[1368035710,76.0],[1368035720,86.0],[1368035730,63.0],[1368035740,70.0],[1368035750,56.0],[1368035760,nil]]} })
  end
end

Version data entries

24 entries across 24 versions & 1 rubygems

Version Path
rearview-1.2.3-jruby spec/factories/job_datas.rb
rearview-1.2.2.rc.2-jruby spec/factories/job_datas.rb
rearview-1.2.2.rc.1-jruby spec/factories/job_datas.rb
rearview-1.2.1-jruby spec/factories/job_datas.rb
rearview-1.2.0-jruby spec/factories/job_datas.rb
rearview-1.1.2-jruby spec/factories/job_datas.rb
rearview-1.1.1-jruby spec/factories/job_datas.rb
rearview-1.1.0-jruby spec/factories/job_datas.rb
rearview-1.0.3.rc.4-jruby spec/factories/job_datas.rb
rearview-1.0.3.rc.3-jruby spec/factories/job_datas.rb
rearview-1.0.3.rc.2-jruby spec/factories/job_datas.rb
rearview-1.0.3.rc.1-jruby spec/factories/job_datas.rb
rearview-1.0.2-jruby spec/factories/job_datas.rb
rearview-1.0.2.rc.4-jruby spec/factories/job_datas.rb
rearview-1.0.2.rc.3-jruby spec/factories/job_datas.rb
rearview-1.0.2.rc.2-jruby spec/factories/job_datas.rb
rearview-1.0.2.rc.1-jruby spec/factories/job_datas.rb
rearview-1.0.1-jruby spec/factories/job_datas.rb
rearview-1.0.0-jruby spec/factories/job_datas.rb
rearview-1.0.0.rc5-jruby spec/factories/job_datas.rb