Sha256: 4746856140af2982bcec14ff39bef57e154f7c61b6188ce45e67940967aa739c
Contents?: true
Size: 417 Bytes
Versions: 7
Compression:
Stored size: 417 Bytes
Contents
require 'spec_helper' describe ShopImage do describe 'schema' do it { expect(subject).to have_db_column(:subject_id).of_type(:integer) } it { expect(subject).to have_db_column(:subject_type).of_type(:string) } it { expect(subject).to have_db_column(:image).of_type(:string) } it { expect(subject).to have_db_column(:created_at) } it { expect(subject).to have_db_column(:updated_at) } end end
Version data entries
7 entries across 7 versions & 1 rubygems