Sha256: b6ef54cd897966d95455afac469828e6b7b69eda4510879c685e98765b5a9ff7

Contents?: true

Size: 259 Bytes

Versions: 2

Compression:

Stored size: 259 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

2 entries across 2 versions & 1 rubygems

Version Path
rambulance-3.1.0 test/exceptions_app_test.rb
rambulance-3.0.0 test/exceptions_app_test.rb