Sha256: 99b2a4a676490fdf130845220f81baa232c23cb177abdee2a8c5b625f5a732a9
Contents?: true
Size: 473 Bytes
Versions: 3
Compression:
Stored size: 473 Bytes
Contents
require 'spec_helper' describe Quorum::JobData do before(:each) do @data = Quorum::JobData.new() end it "#results stores data in an array" do @data.results.should be_a(Array) end it "#no_results returns a hash { results: false }" do @data.no_results.should eq([{ results: false }]) end it "#not_enqueued returns a hash { results: false, enqueued: false }" do @data.not_enqueued.should eq([{ results: false, enqueued: false }]) end end
Version data entries
3 entries across 3 versions & 1 rubygems
Version | Path |
---|---|
quorum-0.8.2 | spec/models/job_data_spec.rb |
quorum-0.8.1 | spec/models/job_data_spec.rb |
quorum-0.8.0 | spec/models/job_data_spec.rb |