Sha256: 64e24ee99d8e4ce1c9d14759f7465b86d426bb2055e39495e5e1719e10b3c479
Contents?: true
Size: 379 Bytes
Versions: 7
Compression:
Stored size: 379 Bytes
Contents
shared_context 'a result that is type cast' do |types| types.each do |type, clazz| context "with #{type} type" do let(:type) { type } it do expect(cast).to be_a(clazz) end end end end shared_context 'casts basic types' do it_behaves_like 'a result that is type cast', { integer: Integer, float: Float, string: String } end
Version data entries
7 entries across 7 versions & 2 rubygems