Sha256: 700d69056ae5ff452d606f5204a59f369d97a48d957c1c60a9b3ae4fb7d610a8

Contents?: true

Size: 229 Bytes

Versions: 7

Compression:

Stored size: 229 Bytes

Contents

require 'spec_helper'

describe Virtus::ClassMethods, '#attribute_set' do
  subject { object.attribute_set }

  let(:object) { Class.new { extend Virtus::ClassMethods } }

  it { should be_instance_of(Virtus::AttributeSet) }
end

Version data entries

7 entries across 7 versions & 2 rubygems

Version Path
virtus-0.5.5 spec/unit/virtus/class_methods/attribute_set_spec.rb
virtus-0.5.4 spec/unit/virtus/class_methods/attribute_set_spec.rb
virtus-0.5.3 spec/unit/virtus/class_methods/attribute_set_spec.rb
fragrant-0.0.5 vendor/bundle/ruby/1.9.1/gems/virtus-0.5.2/spec/unit/virtus/class_methods/attribute_set_spec.rb
virtus-0.5.2 spec/unit/virtus/class_methods/attribute_set_spec.rb
virtus-0.5.1 spec/unit/virtus/class_methods/attribute_set_spec.rb
virtus-0.5.0 spec/unit/virtus/class_methods/attribute_set_spec.rb