Sha256: 2f388d3e406263e367d9a58d321bdf22972585868af9d5497f7ef242734b5fd5
Contents?: true
Size: 613 Bytes
Versions: 2
Compression:
Stored size: 613 Bytes
Contents
require "test_helper" class IntegrationTest < ActionDispatch::IntegrationTest test "robots.txt" do get "/robots.txt" assert_response :success assert_equal "text/plain", response.content_type assert_equal "Sitemap: http://www.example.com/sitemap.xml\n"\ "\n"\ "User-agent: *\n"\ "Disallow: /admin/\n"\ "\n"\ "User-agent: Bingbot\n"\ "Disallow: /\n"\ "\n"\ "User-agent: Googlebot\n"\ "Disallow: /products/one", body end end
Version data entries
2 entries across 2 versions & 1 rubygems
Version | Path |
---|---|
human_power-0.1.0 | test/rails/integration_test.rb |
human_power-0.0.6 | test/rails/integration_test.rb |