Sha256: 7efa501266c281815e90d8d09679bdda95aa24fe6a7e569c1121cbed388a9f6d
Contents?: true
Size: 512 Bytes
Versions: 1
Compression:
Stored size: 512 Bytes
Contents
require "rubygems" require "bundler" Bundler.require(:default, :development) require "minitest/autorun" # For testing Ecology itself, use the local version *first*. $LOAD_PATH.unshift File.join(File.dirname(__FILE__), "..", "lib") require "ecology" class Scope::TestCase def set_up_ecology(file_contents, filename = "some.ecology") ENV["ECOLOGY_SPEC"] = filename File.stubs(:exist?).with(filename).returns(true) File.expects(:read).with(filename).returns(file_contents).at_least_once end end
Version data entries
1 entries across 1 versions & 1 rubygems
Version | Path |
---|---|
ecology-0.0.11 | test/test_helper.rb |