Sha256: 30e860206540bce16315092d0997f6ae6dbc909444f62e378c67308cdef05ad0
Contents?: true
Size: 368 Bytes
Versions: 10
Compression:
Stored size: 368 Bytes
Contents
require File.join(File.dirname(__FILE__), 'spec_helper.rb') describe 'Type families' do let(:types) { ObjectSpace.each_object(Class).select { |k| k < Attributor::Type } } it 'are set on all types' do types.each do |type| next if type == Attributor::Object # object has no set family type.should_not be_in_family('attributor') end end end
Version data entries
10 entries across 10 versions & 1 rubygems