Sha256: c31620a21e362d3e4659e65049134dd361893475cf6b5cb144dd0d1f6d509dbf

Contents?: true

Size: 727 Bytes

Versions: 4

Compression:

Stored size: 727 Bytes

Contents

require 'dotenv'
Dotenv.load!

require 'redcard'
require 'profiler' if RedCard.check :rubinius

require 'coveralls'
Coveralls.wear! 'rails'

ENV["RAILS_ENV"] = "test"
require File.expand_path('../dummy/config/environment', __FILE__)
require 'rails/test_help'

require 'minitest/spec'
require 'resque'
require 'mocha/setup'

Rails.backtrace_cleaner.remove_silencers!

# Load support files
Dir["#{File.dirname(__FILE__)}/support/**/*.rb"].each { |f| require f }

# Load fixtures from the engine
if ActiveSupport::TestCase.method_defined?(:fixture_path=)
  ActiveSupport::TestCase.fixture_path = File.expand_path("../fixtures", __FILE__)
end

ActionDispatch::IntegrationTest.app = Rack::Builder.new do
  run Rails.application
end

Version data entries

4 entries across 4 versions & 2 rubygems

Version Path
misha-resque-web-0.1.1 test/test_helper.rb
misha-resque-web-0.1.0 test/test_helper.rb
misha-resque-web-0.0.9 test/test_helper.rb
resque-web-0.0.9 test/test_helper.rb