Sha256: d39de5cf90eee86db8d9b32eb98002abbfec1cd62fd39f9185a46a986a3702ae

Contents?: true

Size: 534 Bytes

Versions: 3

Compression:

Stored size: 534 Bytes

Contents

# Basic test environment.
#
# This should set up the load path for testing only. Don't require any support libs
# or gitrpc stuff in here.

# blah fuck this
require 'rubygems' if !defined?(Gem)
require 'bundler/setup'

# bring in minitest
require 'minitest/autorun'

# put lib and test dirs directly on load path
$LOAD_PATH.unshift File.expand_path('../../lib', __FILE__)
$LOAD_PATH.unshift File.expand_path('..', __FILE__)

class CustomType
  def initialize(str)
    @str = str
  end

  def to_bpack
    Mochilo.pack(@str)
  end
end

Version data entries

3 entries across 3 versions & 1 rubygems

Version Path
mochilo-1.3.0 test/setup.rb
mochilo-1.2.1 test/setup.rb
mochilo-1.2 test/setup.rb