Sha256: 57419fb3ffe01de626248ee4747c639ae146ddddfa1aa70610786c98e2b20f82
Contents?: true
Size: 490 Bytes
Versions: 22
Compression:
Stored size: 490 Bytes
Contents
require 'test_helper' module Guts class MetafieldTest < ActiveSupport::TestCase test 'should not create without key' do metafield = Metafield.new assert_not metafield.save end test 'should belong to a fieldable type' do metafield = guts_metafields :metafield_for_content assert metafield.fieldable end test 'metafield should be multisite compatible' do assert Metafield.all.to_sql.include?('site_id') end end end
Version data entries
22 entries across 22 versions & 1 rubygems