Sha256: 99225e79e295611c6eee388c5252f10b09a32c02c987850f08cc7fff14a51299
Contents?: true
Size: 278 Bytes
Versions: 2
Compression:
Stored size: 278 Bytes
Contents
require "minitest_helper" # Add the following to your Rake file to test routes by default: # MiniTest::Rails::Testing.default_tasks << "routes" class RouteTest < ActionDispatch::IntegrationTest def test_root assert_routing "/", class: "home", action: "show" end end
Version data entries
2 entries across 2 versions & 1 rubygems
Version | Path |
---|---|
minitest-rails-0.5.2 | lib/generators/mini_test/route/templates/route_test.rb |
minitest-rails-0.5.1 | lib/generators/mini_test/route/templates/route_test.rb |