Sha256: e0d9405f5bc1c6b8f278f9b016b64fe071f28c704fd9ccd97fba8384102b3d3e
Contents?: true
Size: 388 Bytes
Versions: 3
Compression:
Stored size: 388 Bytes
Contents
require File.expand_path(File.dirname(__FILE__) + "/../../test_helper") class Admin::ProductCategoriesIntegrationTest < ActionController::IntegrationTest def test_index_with_no_records ProductCategory.destroy_all get "/admin/product_categories" # should say 'No product categories found' assert_match(/No product categories found/, response.body) end end
Version data entries
3 entries across 2 versions & 1 rubygems