summaryrefslogtreecommitdiff
path: root/test/integration/regression/provider_info_test.rb
blob: 2aaf6f6a2083b18481d5e7a6dbb4695a51ffb7e1 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
require 'test_helper'

class ProviderInfoTest < BrowserIntegrationTest

  def test_404_on_missing_page
    visit '/about'
    assert_equal 404, status_code
  end

  def test_404_on_missing_language_page
    visit '/de/about'
    assert_equal 404, status_code
  end

  def test_404_en_fallback
    visit '/de/bye'
    assert_equal 200, status_code
  end

end