Sha256: b60c6ef93ae7448958292a2ce2330977ac12d631e9fcd8e31ee37d0fa147d766
Contents?: true
Size: 382 Bytes
Versions: 25
Compression:
Stored size: 382 Bytes
Contents
require 'spec_helper' RSpec.describe Ollama::Handlers::NOP do it 'has .to_proc' do expect_any_instance_of(described_class).to receive(:call).with(:foo) described_class.call(:foo) end it 'can do nothing at all' do nop = described_class.new(output:) response = Ollama::Response[foo: 'testing'] nop.call(response) expect(nop.result).to be_nil end end
Version data entries
25 entries across 25 versions & 1 rubygems