Sha256: edf15badcc7bfb1e97af5624fa9f7335182bdd0da6c0f1a1c14cfb08b2a55241

Contents?: true

Size: 370 Bytes

Versions: 62

Compression:

Stored size: 370 Bytes

Contents

require 'test_helper'

module Workarea
  module Admin
    class SortIntegrationTest < Workarea::IntegrationTest
      include Admin::IntegrationTest

      def test_ignores_invalid_sort
        create_product(name: 'Foo')
        create_category(name: 'Foo')

        get admin.search_path(q: 'foo', sort: 'foo')
        assert(response.ok?)
      end
    end
  end
end

Version data entries

62 entries across 62 versions & 1 rubygems

Version Path
workarea-admin-3.4.13 test/integration/workarea/admin/sort_integration_test.rb
workarea-admin-3.4.12 test/integration/workarea/admin/sort_integration_test.rb