Sha256: d0d28dd157f29bd6def04a3e6d11e75a11b1d9ac8d2fa52cc54095702e8c1b92

Contents?: true

Size: 451 Bytes

Versions: 11

Compression:

Stored size: 451 Bytes

Contents

if ENV['START_SIMPLECOV'].to_i == 1
  require 'simplecov'
  SimpleCov.start do
    add_filter "#{File.basename(File.dirname(__FILE__))}/"
  end
end
require 'rspec'
require 'tins/xt/expose'
begin
  require 'debug'
rescue LoadError
end
require 'webmock/rspec'
WebMock.disable_net_connect!
require 'ollama'

def asset(name)
  File.join(__dir__, 'assets', name)
end

RSpec.configure do |config|
  config.before(:suite) do
    infobar.show = nil
  end
end

Version data entries

11 entries across 11 versions & 1 rubygems

Version Path
ollama-ruby-0.12.1 spec/spec_helper.rb
ollama-ruby-0.12.0 spec/spec_helper.rb
ollama-ruby-0.11.0 spec/spec_helper.rb
ollama-ruby-0.10.0 spec/spec_helper.rb
ollama-ruby-0.9.3 spec/spec_helper.rb
ollama-ruby-0.9.2 spec/spec_helper.rb
ollama-ruby-0.9.1 spec/spec_helper.rb
ollama-ruby-0.9.0 spec/spec_helper.rb
ollama-ruby-0.8.0 spec/spec_helper.rb
ollama-ruby-0.7.0 spec/spec_helper.rb
ollama-ruby-0.6.0 spec/spec_helper.rb