cirandas.net

ref: master

test/integration/online_doc_test.rb


 1
 2
 3
 4
 5
 6
 7
 8
 9
10
11
12
13
14
15
require_relative "../test_helper"

class OnlineDocTest < ActionDispatch::IntegrationTest

  def test_404_section
    get '/doc/something-very-unlikely'
    assert_response 404
  end

  def test_404_topic
    get '/doc/something-very-unlikely/unexisting-topic'
    assert_response 404
  end

end