Sha256: 1eecfb53853dfaca20f5feec29af298459e80d273e78138e016d1031ec154142

Contents?: true

Size: 369 Bytes

Versions: 16

Compression:

Stored size: 369 Bytes

Contents

# frozen_string_literal: true

require 'spec_helper'

describe Sinclair::MethodBuilder::Base do
  describe '.build' do
    let(:klass) { Class.new }
    let(:type)  { Sinclair::MethodBuilder::CLASS_METHOD }

    it do
      expect { described_class.build(klass, instance_of(described_class), type: type) }
        .to raise_error(NotImplementedError)
    end
  end
end

Version data entries

16 entries across 16 versions & 1 rubygems

Version Path
sinclair-2.1.1 spec/lib/sinclair/method_builder/base_spec.rb
sinclair-2.1.0 spec/lib/sinclair/method_builder/base_spec.rb
sinclair-2.0.1 spec/lib/sinclair/method_builder/base_spec.rb
sinclair-2.0.0 spec/lib/sinclair/method_builder/base_spec.rb
sinclair-1.16.3 spec/lib/sinclair/method_builder/base_spec.rb
sinclair-1.16.2 spec/lib/sinclair/method_builder/base_spec.rb
sinclair-1.16.1 spec/lib/sinclair/method_builder/base_spec.rb
sinclair-1.16.0 spec/lib/sinclair/method_builder/base_spec.rb
sinclair-1.15.0 spec/lib/sinclair/method_builder/base_spec.rb
sinclair-1.14.2 spec/lib/sinclair/method_builder/base_spec.rb
sinclair-1.14.1 spec/lib/sinclair/method_builder/base_spec.rb
sinclair-1.14.0 spec/lib/sinclair/method_builder/base_spec.rb
sinclair-1.13.0 spec/lib/sinclair/method_builder/base_spec.rb
sinclair-1.12.1 spec/lib/sinclair/method_builder/base_spec.rb
sinclair-1.12.0 spec/lib/sinclair/method_builder/base_spec.rb
sinclair-1.11.0 spec/lib/sinclair/method_builder/base_spec.rb