Sha256: 445f282356cfffcdb7883e06cf081c0805caa4a0517820cbac354274b35123ad

Contents?: true

Size: 381 Bytes

Versions: 24

Compression:

Stored size: 381 Bytes

Contents

require 'spec_helper'

describe Rearview::JobData do
  describe 'factory' do
    it 'should be valid' do
      expect { FactoryGirl.create(:job_data) }.not_to raise_error
      expect( FactoryGirl.create(:job_data).valid? ).to be_true
    end
  end
  describe 'validations' do
    it { should validate_presence_of(:job_id) }
    it { should validate_presence_of(:data) }
  end
end

Version data entries

24 entries across 24 versions & 1 rubygems

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