Sha256: e46a35ce5350f6c506377a1e970091ab7b15eb53c5ce7a114d7cbd85f7864745
Contents?: true
Size: 350 Bytes
Versions: 11
Compression:
Stored size: 350 Bytes
Contents
# encoding: utf-8 require 'spec_helper' describe Axiom::Types::Type, '.base?' do subject { object.base? } context 'when the type is named' do let(:object) { described_class } it { should be(true) } end context 'when the type is anonymous' do let(:object) { Class.new(described_class) } it { should be(false) } end end
Version data entries
11 entries across 9 versions & 4 rubygems