Sha256: e273cbe4f4abe9ab644b8c67ad0917078748cafed45dd09e5632d7551554f6d4
Contents?: true
Size: 333 Bytes
Versions: 10
Compression:
Stored size: 333 Bytes
Contents
require 'spec_helper' describe Virtus::Coercion, '.primitive' do Virtus::Coercion.descendants.each do |descendant| subject { descendant.primitive } let(:primitive) { Object.const_get(descendant.name.split('::').last.to_sym) } describe "#{descendant}.primitive" do it { should be(primitive) } end end end
Version data entries
10 entries across 10 versions & 2 rubygems