Sha256: 0d37555dcb59b108630d4ad0d93327354adbef461ddde2814720d4ca37fe8580

Contents?: true

Size: 727 Bytes

Versions: 61

Compression:

Stored size: 727 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__) + "/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

61 entries across 61 versions & 5 rubygems

Version Path
trusty-layouts-extension-3.1.1 spec/spec_helper.rb
trusty-layouts-extension-3.1.0 spec/spec_helper.rb
trusty-layouts-extension-3.0.0 spec/spec_helper.rb
trusty-layouts-extension-2.0.4 spec/spec_helper.rb
trusty-layouts-extension-2.0.3 spec/spec_helper.rb
trusty-layouts-extension-2.0.2 spec/spec_helper.rb
trusty-layouts-extension-2.0.1 spec/spec_helper.rb
trusty-layouts-extension-2.0.0.pre.beta spec/spec_helper.rb
trusty-layouts-extension-1.1.0 spec/spec_helper.rb
trusty-layouts-extension-1.0.4 spec/spec_helper.rb
trusty-layouts-extension-1.0.3 spec/spec_helper.rb
trusty-layouts-extension-1.0.2 spec/spec_helper.rb
trusty-layouts-extension-1.0.1 spec/spec_helper.rb
trusty-layouts-extension-1.0.0 spec/spec_helper.rb
radiant-images-extension-0.6.1 spec/spec_helper.rb
radiant-shop-extension-0.92.1 spec/spec_helper.rb
radiant-drag_order-extension-0.5.0 spec/spec_helper.rb
radiant-shop-extension-0.92.0 spec/spec_helper.rb
radiant-images-extension-0.6.0 spec/spec_helper.rb
radiant-drag_order-extension-0.4.8 spec/spec_helper.rb