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