Sha256: 61869e007988d1c6ad2da698e782c456aa5d0899723957f821c0cb807f3e9c61
Contents?: true
Size: 492 Bytes
Versions: 13
Compression:
Stored size: 492 Bytes
Contents
require 'spec_helper' describe Virtus::Attribute, '#name' do subject { object.name } let(:object) { described_class.new(:name, options) } let(:options) { { :primitive => primitive, :coercion_method => coercion_method } } let(:primitive) { stub('primitive') } let(:coercion_method) { stub('coercion_method') } it { should be(:name) } end
Version data entries
13 entries across 13 versions & 2 rubygems