Sha256: 0bb4daafe1e9ef8c89d7ce025bcefc4854f9c57b2304e8bd56c3a995e781b188
Contents?: true
Size: 679 Bytes
Versions: 13
Compression:
Stored size: 679 Bytes
Contents
require 'spec_helper' describe Virtus::Attribute, '.accessor' do let(:object) { Class.new(described_class) } let(:options) { { :primitive => primitive, :coercion_method => coercion_method } } let(:primitive) { stub('primitive') } let(:coercion_method) { stub('coercion_method') } let(:method) { :accessor } let(:default) { :public } it_should_behave_like 'an options class method' end
Version data entries
13 entries across 13 versions & 2 rubygems