Sha256: 76a309d61d7c0ebd7454774cf1c3772958d3d51f8d31fd3c4056ac5f01e15e11

Contents?: true

Size: 250 Bytes

Versions: 5

Compression:

Stored size: 250 Bytes

Contents

require 'spec_helper'

describe Virtus::ClassMethods, '.attributes' do
  subject { described_class.attributes }

  let(:described_class) do
    Class.new { extend Virtus::ClassMethods }
  end

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

Version data entries

5 entries across 5 versions & 1 rubygems

Version Path
virtus-0.0.10 spec/unit/virtus/class_methods/attributes_spec.rb
virtus-0.0.9 spec/unit/virtus/class_methods/attributes_spec.rb
virtus-0.0.8 spec/unit/virtus/class_methods/attributes_spec.rb
virtus-0.0.7 spec/unit/virtus/class_methods/attributes_spec.rb
virtus-0.0.6 spec/unit/virtus/class_methods/attributes_spec.rb