Sha256: 6df05932b98a4f0faaa98595336d6d6b54c22ab9a9e2e4147d0c33563eb4db4d
Contents?: true
Size: 276 Bytes
Versions: 18
Compression:
Stored size: 276 Bytes
Contents
require 'spec_helper' describe Virtus::TypeLookup, '#primitive' do subject { object.primitive } let(:object) { Class.new { extend Virtus::TypeLookup } } specify { expect { subject }.to raise_error(NotImplementedError, "#{object}.primitive must be implemented") } end
Version data entries
18 entries across 18 versions & 2 rubygems