Skip to content

HTTPS clone URL

Subversion checkout URL

You can clone with HTTPS or Subversion.

Download ZIP
tree: a4dd8719e5
Fetching contributors…

Cannot retrieve contributors at this time

15 lines (12 sloc) 0.3 kb
require 'abstract_unit'
class EngineTest < ActiveSupport::TestCase
it "reports routes as available only if they're actually present" do
engine = Class.new(Rails::Engine) do
def initialize(*args)
@routes = nil
super
end
end
assert !engine.routes?
end
end
Jump to Line
Something went wrong with that request. Please try again.