Sha256: fdca6a4729e7a8378c9036cab4b6a6a812ecfa6756ad154eceb0901b076ab991

Contents?: true

Size: 312 Bytes

Versions: 2

Compression:

Stored size: 312 Bytes

Contents

# encoding: utf-8

require 'spec_helper'
require File.expand_path('../../fixtures/classes', __FILE__)

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

  let(:object) { FunctionSpecs::Object }

  specify { expect { subject }.to raise_error(NotImplementedError, "#{object}.type is not implemented") }
end

Version data entries

2 entries across 2 versions & 1 rubygems

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