summaryrefslogtreecommitdiff
path: root/test/functional/home_controller_test.rb
blob: cafaac55d18849e916f6448cfaa3f6564273fddd (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
require 'test_helper'

class HomeControllerTest < ActionController::TestCase

  def test_renders_okay
    get :index
    assert_response :success
  end

  def test_other_formats_trigger_406
    assert_raises ActionController::UnknownFormat do
      get :index, format: :xml
    end
  end

end