Sha256: 9e7bdf84c4709657915adcad81b790ee93341d20788f9babb9594e5f7583f380
Contents?: true
Size: 390 Bytes
Versions: 16
Compression:
Stored size: 390 Bytes
Contents
require 'test_helper' module Workarea module Api module Admin class ErrorHandlingIntegrationTest < IntegrationTest include Workarea::Admin::IntegrationTest def test_handles_mongoid_not_found patch admin_api.product_path('FOO'), params: { product: { name: 'foo' } } assert_equal(404, response.status) end end end end end
Version data entries
16 entries across 16 versions & 2 rubygems