Sha256: db49d2b7d28559b7aa96f77f21f8e90f53f98ca7e5340f1d8ad34397dc98e54d
Contents?: true
Size: 362 Bytes
Versions: 7
Compression:
Stored size: 362 Bytes
Contents
require 'spec_helper' describe Virtus::Attribute::Numeric, '.descendants' do subject { described_class.descendants } let(:known_descendants) do [ Virtus::Attribute::Integer, Virtus::Attribute::Float, Virtus::Attribute::Decimal ] end it "should return all known attribute classes" do subject.should eql(known_descendants) end end
Version data entries
7 entries across 7 versions & 1 rubygems