Sha256: 21e25f3cfad8f85bf85a4ddebe5e56ed2d9584bfc1e828829b3ee79fe7965ac3

Contents?: true

Size: 200 Bytes

Versions: 2

Compression:

Stored size: 200 Bytes

Contents

# encoding: utf-8

require 'spec_helper'

describe Function::Predicate, '.type' do
  subject { object.type }

  let(:object) { Class.new(Function::Predicate) }

  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/function/predicate/class_methods/type_spec.rb
axiom-0.1.1 spec/unit/axiom/function/predicate/class_methods/type_spec.rb