Sha256: d78f357bf663ada3c854fe4ebba08a35f92dab462a6b562d4f1fe8e55fdc1d8e
Contents?: true
Size: 258 Bytes
Versions: 13
Compression:
Stored size: 258 Bytes
Contents
require 'spec_helper' describe Virtus::Attribute::Class, '#coerce' do subject { attribute.coerce(value) } let(:attribute) { described_class.new(:type) } context 'with a String' do let(:value) { 'String' } it { should be(String) } end end
Version data entries
13 entries across 13 versions & 2 rubygems