Sha256: 36d7e9c9d388ce64a0d724a8af52ffd566497908c02a8dd09c57b7e37de6aa86
Contents?: true
Size: 532 Bytes
Versions: 9
Compression:
Stored size: 532 Bytes
Contents
module Sniff extend self def root File.join(File.dirname(__FILE__), '..') end def init(local_root, options = {}) options[:earth] ||= :none Sniff::Database.init local_root, options if defined?(Cucumber) step_definitions = Dir.glob File.join(File.dirname(__FILE__), 'test_support', 'step_definitions', '**', '*.rb') step_definitions.each { |definition| require definition } end end end require 'earth' $:.unshift File.dirname(__FILE__) require 'sniff/database' require 'sniff/emitter'
Version data entries
9 entries across 9 versions & 1 rubygems