Sha256: c7f645c242e3877b981ce395d72df2e4399c762159e8fa16504709c24e62fcab
Contents?: true
Size: 440 Bytes
Versions: 16
Compression:
Stored size: 440 Bytes
Contents
# frozen_string_literal: true require 'rails_helper' describe Lcms::Engine::SocialThumbnail do it 'has valid factory' do expect(build :social_thumbnail).to be_valid end context 'cannot be created' do it 'without target' do expect(build :social_thumbnail, target: nil).to_not be_valid end it 'without valid media type' do expect(build :social_thumbnail, media: 'fake').to_not be_valid end end end
Version data entries
16 entries across 16 versions & 1 rubygems