Sha256: 8a00215db73a70741b9523c08ff6e2b98a6a36ed4ba7c943249510f56f3a2c2e
Contents?: true
Size: 371 Bytes
Versions: 11
Compression:
Stored size: 371 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(object) } end context 'when the type is anonymous' do let(:object) { Class.new(Class.new(described_class)) } it { should be(described_class) } end end
Version data entries
11 entries across 9 versions & 4 rubygems