Sha256: 893d029066c51c95f4f9b212ae6833371bb26a4c150cd83196142d332ca51f19

Contents?: true

Size: 258 Bytes

Versions: 3

Compression:

Stored size: 258 Bytes

Contents

require 'spec_helper'

describe Virtus::Attribute::Hash do
  it_should_behave_like 'Attribute' do
    let(:attribute_name)        { :settings }
    let(:attribute_value)       { Hash[:one => 1] }
    let(:attribute_value_other) { Hash[:two => 2] }
  end
end

Version data entries

3 entries across 3 versions & 1 rubygems

Version Path
virtus-0.0.5 spec/unit/virtus/attribute/hash_spec.rb
virtus-0.0.4 spec/unit/virtus/attribute/hash_spec.rb
virtus-0.0.3 spec/unit/virtus/attribute/hash_spec.rb