Sha256: b6f6ca2461b28063d0a14d31572f48cd9dcd513986bc51441f5ad670c634bee2

Contents?: true

Size: 633 Bytes

Versions: 6

Compression:

Stored size: 633 Bytes

Contents

# 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

class ActiveSupport::TestCase
  fixtures :all
end

module Adherent
  class ActionController::TestCase
    setup do
      @routes = Engine.routes
    end
  end
end

Version data entries

6 entries across 6 versions & 1 rubygems

Version Path
adherent-0.1.1 test/test_helper.rb
adherent-0.1.0 test/test_helper.rb
adherent-0.0.9 test/test_helper.rb
adherent-0.0.7 test/test_helper.rb
adherent-0.0.6 test/test_helper.rb
adherent-0.0.5 test/test_helper.rb