Sha256: 90a5d5b5ec2d4c8b5af0f19f78476ae0ce8bd69a56591c20f97f986ffa9905f4
Contents?: true
Size: 360 Bytes
Versions: 14
Compression:
Stored size: 360 Bytes
Contents
require 'spec_helper' describe Coercer, '#[]' do subject { object[type] } let(:object) { described_class.new } context "with a known type" do let(:type) { ::String } it { should be_instance_of(Coercer::String) } end context "with an unknown type" do let(:type) { Object } it { should be_instance_of(Coercer::Object) } end end
Version data entries
14 entries across 12 versions & 4 rubygems