Sha256: 011bcfbdb9a485abe2456c37bacf492c4d56c7d22f2a01668421abc11a44e9c0

Contents?: true

Size: 230 Bytes

Versions: 2

Compression:

Stored size: 230 Bytes

Contents

# encoding: utf-8

require 'spec_helper'

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

  let(:object) { described_class }

  it_should_behave_like 'an idempotent method'

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

Version data entries

2 entries across 2 versions & 1 rubygems

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