Sha256: 4cb4e1845ad5852b79bb2d05d5b814fae85862009c3dbc163f127077a345b52d

Contents?: true

Size: 208 Bytes

Versions: 2

Compression:

Stored size: 208 Bytes

Contents

require 'test_helper'

class ProductsControllerTest < ActionController::TestCase
  fixtures :products

  def test_list_products
    get :index
    assert_response :success
    assert_select 'tr', 2
  end
end

Version data entries

2 entries across 2 versions & 2 rubygems

Version Path
xli-dtr-1.1.0 testdata/rails_projects/simple_project/test/functional/products_controller_test.rb
dtr-1.1.0 testdata/rails_projects/simple_project/test/functional/products_controller_test.rb