Sha256: f36b28450a384dfc5b7e0528715818be80fa3c837a0d2480c7cee1425b8c36cf

Contents?: true

Size: 228 Bytes

Versions: 9

Compression:

Stored size: 228 Bytes

Contents

require 'spec_helper'

describe Virtus::Attribute::DefaultValue, '#value' do
  subject { object.value }

  let(:object) { described_class.new(value) }
  let(:value)  { mock('value')              }

  it { should be(value) }
end

Version data entries

9 entries across 9 versions & 2 rubygems

Version Path
virtus-0.5.5 spec/unit/virtus/attribute/default_value/value_spec.rb
virtus-0.5.4 spec/unit/virtus/attribute/default_value/value_spec.rb
virtus-0.5.3 spec/unit/virtus/attribute/default_value/value_spec.rb
fragrant-0.0.5 vendor/bundle/ruby/1.9.1/gems/virtus-0.5.2/spec/unit/virtus/attribute/default_value/value_spec.rb
virtus-0.5.2 spec/unit/virtus/attribute/default_value/value_spec.rb
virtus-0.5.1 spec/unit/virtus/attribute/default_value/value_spec.rb
virtus-0.5.0 spec/unit/virtus/attribute/default_value/value_spec.rb
virtus-0.4.2 spec/unit/virtus/attribute/default_value/value_spec.rb
virtus-0.4.1 spec/unit/virtus/attribute/default_value/value_spec.rb