Sha256: e39fa0b846fe0015af35ab31c75c67b429e223c0948177bda4b4c280a2a6232b

Contents?: true

Size: 373 Bytes

Versions: 1

Compression:

Stored size: 373 Bytes

Contents

require 'test_helper'

PatternMatching.configure do |config|
  config.use_proc_helpers = false
end

module ConfigurationTests
  class NoProcHelpers < Minitest::Test
    include PatternMatching

    test "send helper is not defined" do
      refute_respond_to(self, :S)
    end

    test "call helper is not defined" do
      refute_respond_to(self, :C)
    end

  end
end

Version data entries

1 entries across 1 versions & 1 rubygems

Version Path
pattern_matching-0.1.0 test/configuration_tests/no_proc_helpers_test.rb