Sha256: c55a627c484880eee8f25ed4ed32a252c2649f376520b3ae4d2cd410b7e554d2

Contents?: true

Size: 238 Bytes

Versions: 5

Compression:

Stored size: 238 Bytes

Contents

# encoding: utf-8

require 'spec_helper'

describe Attribute::Integer, '.primitive' do
  subject { object.primitive }

  let(:object) { described_class }

  it_should_behave_like 'an idempotent method'

  it { should equal(Integer) }
end

Version data entries

5 entries across 5 versions & 2 rubygems

Version Path
axiom-0.1.0 spec/unit/axiom/attribute/integer/class_methods/primitive_spec.rb
veritas-0.0.7 spec/unit/veritas/attribute/integer/class_methods/primitive_spec.rb
veritas-0.0.6 spec/unit/veritas/attribute/integer/class_methods/primitive_spec.rb
veritas-0.0.5 spec/unit/veritas/attribute/integer/class_methods/primitive_spec.rb
veritas-0.0.4 spec/unit/veritas/attribute/integer/class_methods/primitive_spec.rb