Sha256: 659ff51af3120188ef9170c3a11c941b91f6ba8562d76169ba48425b55ce98a7
Contents?: true
Size: 254 Bytes
Versions: 12
Compression:
Stored size: 254 Bytes
Contents
require 'spec_helper' describe Virtus::Attribute::Symbol, '#coerce' do subject { attribute.coerce(value) } let(:attribute) { described_class.new(:code) } context 'with a string' do let(:value) { 'foo' } it { should be(:foo) } end end
Version data entries
12 entries across 12 versions & 2 rubygems