Sha256: 99416a384f7b688beccee533bdd820484405cc2c6809baa98d3710e54e4e0e9b
Contents?: true
Size: 519 Bytes
Versions: 14
Compression:
Stored size: 519 Bytes
Contents
require 'test_helper' class TestHelperTest < ActionDispatch::IntegrationTest include Rambulance::TestHelper test '#with_exceptions_app can enable the exceptions app in test' do with_exceptions_app do get '/does_not_exist' end assert_equal 404, response.status end test '#with_exceptions_app can disable the exceptions app in test' do with_exceptions_app enabled: false do assert_raises ActionController::RoutingError do get '/does_not_exist' end end end end
Version data entries
14 entries across 14 versions & 1 rubygems