Sha256: e7c4bf2fc5d710a64f6b57c093b543e9cfa949861ed904f694f5d4ed40afed08

Contents?: true

Size: 712 Bytes

Versions: 6

Compression:

Stored size: 712 Bytes

Contents

require 'rubygems'
require 'bundler'
begin
  Bundler.setup(:default, :development)
rescue Bundler::BundlerError => e
  $stderr.puts e.message
  $stderr.puts "Run `bundle install` to install missing gems"
  exit e.status_code
end
require 'test/unit'

$LOAD_PATH.unshift(File.join(File.dirname(__FILE__), '..', 'lib'))
$LOAD_PATH.unshift(File.dirname(__FILE__))
require 'tickly'

class Test::Unit::TestCase
  # Provides the methods for quickly emitting the expression arrays,
  # is used in tests
  module Emitter #:nodoc :all
    def le(*elems)
      e(*elems).unshift :c
    end
    
    def e(*elems)
      elems
    end
    
    def se(*elems)
      e(*elems).unshift :b
    end
  end
  
  include Emitter
end

Version data entries

6 entries across 6 versions & 1 rubygems

Version Path
tickly-2.1.7 test/helper.rb
tickly-2.1.6 test/helper.rb
tickly-2.1.5 test/helper.rb
tickly-2.1.4 test/helper.rb
tickly-2.1.3 test/helper.rb
tickly-2.1.2 test/helper.rb