Sha256: 00602f0dc9f18cdde8209458265eab4ea0e67f41d2035fe7687a8585e4afb17e

Contents?: true

Size: 300 Bytes

Versions: 5

Compression:

Stored size: 300 Bytes

Contents

require 'test_helper'

class ErrorPreviewsControllerTest < ActionDispatch::IntegrationTest
  test '500' do
    get '/error_previews/preview'
    assert_response 500
  end

  test '404' do
    get '/error_previews/preview?code=404'
    assert_response 404
    assert_template 'errors/404'
  end


end

Version data entries

5 entries across 5 versions & 1 rubygems

Version Path
simplificator_infrastructure-0.0.7 test/dummy/test/integration/error_previews_controller_test.rb
simplificator_infrastructure-0.0.6 test/dummy/test/integration/error_previews_controller_test.rb
simplificator_infrastructure-0.0.5 test/dummy/test/integration/error_previews_controller_test.rb
simplificator_infrastructure-0.0.4 test/dummy/test/integration/error_previews_controller_test.rb
simplificator_infrastructure-0.0.3 test/dummy/test/integration/error_previews_controller_test.rb