Sha256: a4b99d104a0507547cec55f938aa1a4b84bf426ad98142462cdb0bcd81942f85
Contents?: true
Size: 465 Bytes
Versions: 1
Compression:
Stored size: 465 Bytes
Contents
# Insert this middleware to know from tests what routes aren't tested Rails.application.config.middleware.use RouteDog::Middleware::Watcher if Rails.env.test? # Insert this middleware in development to append html to let the user know if the route is not tested # Also we add this middleware to test env so that way we can test the whole thing :D Rails.application.config.middleware.use RouteDog::Middleware::Notifier if Rails.env.test? || Rails.env.development?
Version data entries
1 entries across 1 versions & 1 rubygems
Version | Path |
---|---|
route_dog-2.0.1 | test/mock_app/config/initializers/route_dog.rb |