Sha256: 3e356100d015b9add4cd6da5d1673983e86369bddfc55bc0a57cb23295fdb4cd

Contents?: true

Size: 815 Bytes

Versions: 31

Compression:

Stored size: 815 Bytes

Contents

AutomateIt_Base = File.dirname(File.expand_path(__FILE__)) unless defined?(AutomateIt_Base)
AutomateIt_Lib = File.join(AutomateIt_Base, "/../lib") unless defined?(AutomateIt_Lib)
AutomateIt_Bin = File.join(AutomateIt_Base, "/../bin") unless defined?(AutomateIt_Bin)

$LOAD_PATH.unshift(AutomateIt_Lib)

# Remove environmental variables that will contaminate tests
ENV.delete("AUTOMATEIT_PROJECT")

require 'automateit'

# Create a global instance, using WARN verbosity so that
# INTERPRETER.mktempdircd calls don't generate output.
unless defined?(INTERPRETER)
  INTERPRETER = AutomateIt.new(:verbosity => Logger::WARN) 
end

# Inject matchers into interpreter, e.g., 'should be_true'
INTERPRETER.class.send(:include, Spec::Matchers)

def write_to(filename, text)
  File.open(filename, "w+"){|h| h.write(text)}
end

Version data entries

31 entries across 31 versions & 2 rubygems

Version Path
automate-it-0.9.2 spec/spec_helper.rb
automate-it-0.9.1 spec/spec_helper.rb
automate-it-0.9.0 spec/spec_helper.rb
automateit-0.70923 spec/spec_helper.rb
automateit-0.70928 spec/spec_helper.rb
automateit-0.71003 spec/spec_helper.rb
automateit-0.70930 spec/spec_helper.rb
automateit-0.71017 spec/spec_helper.rb
automateit-0.71021 spec/spec_helper.rb
automateit-0.71031.2 spec/spec_helper.rb
automateit-0.71012 spec/spec_helper.rb
automateit-0.71006 spec/spec_helper.rb
automateit-0.71031.1 spec/spec_helper.rb
automateit-0.71030 spec/spec_helper.rb
automateit-0.71031 spec/spec_helper.rb
automateit-0.71101 spec/spec_helper.rb
automateit-0.71101.2 spec/spec_helper.rb
automateit-0.71102 spec/spec_helper.rb
automateit-0.71103 spec/spec_helper.rb
automateit-0.71101.1 spec/spec_helper.rb