Sha256: 8876bc9cb417656b6f331f79870bb084eb45947ffbb2e1fb2f31b0e8bf83ced1
Contents?: true
Size: 811 Bytes
Versions: 12
Compression:
Stored size: 811 Bytes
Contents
unless defined? RADIANT_ROOT ENV["RAILS_ENV"] = "test" case when ENV["RADIANT_ENV_FILE"] require ENV["RADIANT_ENV_FILE"] when File.dirname(__FILE__) =~ %r{vendor/radiant/vendor/extensions} require "#{File.expand_path(File.dirname(__FILE__) + "/../../../../../../")}/config/environment" else require "#{File.expand_path(File.dirname(__FILE__) + "/../../../../")}/config/environment" end end require "#{RADIANT_ROOT}/spec/spec_helper" Dataset::Resolver.default << (File.dirname(__FILE__) + "/../../shop/spec/datasets") Dataset::Resolver.default << (File.dirname(__FILE__) + "/datasets") if File.directory?(File.dirname(__FILE__) + "/matchers") Dir[File.dirname(__FILE__) + "/matchers/*.rb"].each {|file| require file } end Spec::Runner.configure do |config| config.mock_with :rr end
Version data entries
12 entries across 12 versions & 3 rubygems