Skip to content

HTTPS clone URL

Subversion checkout URL

You can clone with HTTPS or Subversion.

Download ZIP
tree: 28844aeac5
Fetching contributors…

Cannot retrieve contributors at this time

17 lines (14 sloc) 0.338 kb
require 'abstract_unit'
module 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
end
Jump to Line
Something went wrong with that request. Please try again.