Sha256: 3f2df21e975091c78c5eccd594e40bc3a55f51483025839b43a2a0cf41189b64
Contents?: true
Size: 548 Bytes
Versions: 8
Compression:
Stored size: 548 Bytes
Contents
require File.join(File.dirname(__FILE__), "../..", "example_helper.rb") describe "Rails init.rb" do after { ENV.delete "RAILS_ENV" } pending "requires main tarantula file if in test environment" do ENV["RAILS_ENV"] = "test" path = File.expand_path(File.join(File.dirname(__FILE__), *%w[.. .. .. lib relevance tarantula])) Object.any_instance.expects(:require).with('rake') Object.any_instance.expects(:require).with path load File.expand_path(File.join(File.dirname(__FILE__), *%w[.. .. .. rails init.rb])) end end
Version data entries
8 entries across 8 versions & 2 rubygems