Sha256: 594506bea7fb4690cfbc367d36230cc0d7370bb1a17b046e2641444b31c8ac7a

Contents?: true

Size: 232 Bytes

Versions: 2

Compression:

Stored size: 232 Bytes

Contents

# encoding: utf-8

require 'spec_helper'

describe Attribute::Boolean, '.type' do
  subject { object.type }

  let(:object) { described_class }

  it_should_behave_like 'an idempotent method'

  it { should be(Types::Boolean) }
end

Version data entries

2 entries across 2 versions & 1 rubygems

Version Path
axiom-0.2.0 spec/unit/axiom/attribute/boolean/class_methods/type_spec.rb
axiom-0.1.1 spec/unit/axiom/attribute/boolean/class_methods/type_spec.rb