Sha256: 372d016688b6ea74ff9d984ccafb0a279c15dca4bf9fa3bc84404797403b64df
Contents?: true
Size: 370 Bytes
Versions: 4
Compression:
Stored size: 370 Bytes
Contents
# We need to test for the presence of RAILS_ROOT in the $CONTROL_PATH if !defined?(RAILS_ROOT) RAILS_ROOT = "somewhere/over/the/rainbow" end spec_dir = File.expand_path(File.dirname(__FILE__)) lib_dir = File.expand_path(File.join(spec_dir, "../lib")) $:.unshift(lib_dir) $:.uniq! require "instrument" $CONTROL_PATH.unshift(File.join(spec_dir, "control_templates"))
Version data entries
4 entries across 4 versions & 1 rubygems
Version | Path |
---|---|
instrument-0.1.0 | spec/spec_helper.rb |
instrument-0.1.2 | spec/spec_helper.rb |
instrument-0.1.1 | spec/spec_helper.rb |
instrument-0.1.3 | spec/spec_helper.rb |