Sha256: 1df8ba04c652046634a740aa51f004a8d602b37990f1e6dd8dc10b0eb0202d53

Contents?: true

Size: 241 Bytes

Versions: 5

Compression:

Stored size: 241 Bytes

Contents

# encoding: utf-8

require 'spec_helper'

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

  let(:object) { described_class }

  it_should_behave_like 'an idempotent method'

  it { should equal(BigDecimal) }
end

Version data entries

5 entries across 5 versions & 2 rubygems

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