Sha256: db933b9ef48357d95a965c6b6a8b031ca4474e6fbbb11f91a841d246772e7e49

Contents?: true

Size: 260 Bytes

Versions: 10

Compression:

Stored size: 260 Bytes

Contents

require 'test_helper'

class ExeptionsAppTest < ActionDispatch::IntegrationTest
  test 'returns 404 for unknown format for pages that do not exist' do
    get '/does_not_exist', headers: { 'Accept' => '*/*'  }

    assert_equal 404, response.status
  end
end

Version data entries

10 entries across 10 versions & 1 rubygems

Version Path
rambulance-2.3.0 test/exceptions_app_test.rb
rambulance-2.2.0 test/exceptions_app_test.rb
rambulance-2.0.0 test/exceptions_app_test.rb
rambulance-1.1.1 test/exceptions_app_test.rb
rambulance-1.1.0 test/exceptions_app_test.rb
rambulance-1.0.3 test/exceptions_app_test.rb
rambulance-1.0.2 test/exceptions_app_test.rb
rambulance-1.0.1 test/exceptions_app_test.rb
rambulance-1.0.0 test/exceptions_app_test.rb
rambulance-0.6.0 test/exceptions_app_test.rb