Sha256: 279f23bcd30c4e7ca5e74eb3d9443fbe9a433a2f2629ae9b2ed07220d5b22863

Contents?: true

Size: 1.02 KB

Versions: 4

Compression:

Stored size: 1.02 KB

Contents

# Keep it on top, don't change positions
require 'codeclimate-test-reporter'
require 'simplecov'
require 'coveralls'

# Don't forget set token
CodeClimate::TestReporter.start

Coveralls.wear! if Coveralls.should_run?
# Coveralls.wear!('rails') # For RailsApp

# Configure Rails Environment
ENV["RAILS_ENV"] = "test"

require File.expand_path("../dummy/config/environment.rb",  __FILE__)
require "rails/test_help"

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

require 'capybara/rails' # Capybara must be required directly          

class ActionDispatch::IntegrationTest
  include Capybara::DSL
end

require 'tuberack'

include Tuberack::Helpers

class ActiveSupport::TestCase
  # Uncomment if are you using Rails engine
  # include MyEngine::Engine.routes.url_helpers
end

Version data entries

4 entries across 4 versions & 1 rubygems

Version Path
foundationstone-0.0.4 test/test_helper.rb
foundationstone-0.0.3 test/test_helper.rb
foundationstone-0.0.2 test/test_helper.rb
foundationstone-0.0.1 test/test_helper.rb