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

Version Path
power_shop-0.2.4 spec/models/shop_image_spec.rb
power_shop-0.2.3 spec/models/shop_image_spec.rb
power_shop-0.2.2 spec/models/shop_image_spec.rb
power_shop-0.2.1 spec/models/shop_image_spec.rb
power_shop-0.2.0 spec/models/shop_image_spec.rb
power_shop-0.1.1 spec/models/shop_image_spec.rb
power_shop-0.1.0 spec/models/shop_image_spec.rb