Sha256: 1e568d50726f059375ebd1d8518e5447a96658efdcf5d9fdd50f9dcaa1e79bd6
Contents?: true
Size: 365 Bytes
Versions: 2
Compression:
Stored size: 365 Bytes
Contents
# frozen_string_literal: true describe Transproc::FunctionNotFoundError do it 'complains that the function not registered' do Foo = Module.new { extend Transproc::Registry } expect { Foo[:foo] }.to raise_error do |error| expect(error).to be_kind_of described_class expect(error.message['function Foo[:foo]']).not_to be_nil end end end
Version data entries
2 entries across 2 versions & 1 rubygems
Version | Path |
---|---|
transproc-1.1.1 | spec/unit/function_not_found_error_spec.rb |
transproc-1.1.0 | spec/unit/function_not_found_error_spec.rb |