Sha256: 75e6dc666b555029613da922a239eac0fc3976b67acf48526000397dc52451c4

Contents?: true

Size: 263 Bytes

Versions: 13

Compression:

Stored size: 263 Bytes

Contents

require 'spec_helper'

describe Virtus::Attribute, '.primitive' do
  let(:object)  { Class.new(described_class) }
  let(:method)  { :primitive                 }
  let(:default) { nil                        }

  it_should_behave_like 'an options class method'
end

Version data entries

13 entries across 13 versions & 2 rubygems

Version Path
virtus-0.5.5 spec/unit/virtus/attribute/class_methods/primitive_spec.rb
virtus-0.5.4 spec/unit/virtus/attribute/class_methods/primitive_spec.rb
virtus-0.5.3 spec/unit/virtus/attribute/class_methods/primitive_spec.rb
fragrant-0.0.5 vendor/bundle/ruby/1.9.1/gems/virtus-0.5.2/spec/unit/virtus/attribute/class_methods/primitive_spec.rb
virtus-0.5.2 spec/unit/virtus/attribute/class_methods/primitive_spec.rb
virtus-0.5.1 spec/unit/virtus/attribute/class_methods/primitive_spec.rb
virtus-0.5.0 spec/unit/virtus/attribute/class_methods/primitive_spec.rb
virtus-0.4.2 spec/unit/virtus/attribute/class_methods/primitive_spec.rb
virtus-0.4.1 spec/unit/virtus/attribute/class_methods/primitive_spec.rb
virtus-0.4.0 spec/unit/virtus/attribute/class_methods/primitive_spec.rb
virtus-0.3.0 spec/unit/virtus/attribute/class_methods/primitive_spec.rb
virtus-0.2.0 spec/unit/virtus/attribute/class_methods/primitive_spec.rb
virtus-0.1.0 spec/unit/virtus/attribute/class_methods/primitive_spec.rb