Skip to content
This repository
tree: 0cc16c75d3
Fetching contributors…

Octocat-spinner-32-eaf2f5

Cannot retrieve contributors at this time

file 15 lines (11 sloc) 0.328 kb
1 2 3 4 5 6 7 8 9 10 11 12 13 14
# 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!

class ActionController::TestCase
  setup :use_engine_routes
  def use_engine_routes
    @routes = ApiDocs::Engine.routes
  end
end
Something went wrong with that request. Please try again.