Sha256: c7b307d5944e01e605006f58a21d28f36e714dbbcacc036bd4a7f84071002703

Contents?: true

Size: 609 Bytes

Versions: 39

Compression:

Stored size: 609 Bytes

Contents

require_relative '../search_helpers'

module ContentViewHelpers
  include SearchHelpers

  def expect_content_view_search(org_id, name, id)
    expect_generic_content_view_search(params: {'name' => name, 'organization_id' => org_id},
                                       returns: {'id' => id})
  end

  def expect_generic_content_view_search(args)
    expect_generic_search(:content_views, args)
  end

  def expect_content_view_version_search(params, returns)
    expect_lenient_search(:content_view_versions,
                          params: params,
                          returns: returns)
  end
end

Version data entries

39 entries across 39 versions & 1 rubygems

Version Path
hammer_cli_katello-1.16.1 test/functional/content_view/content_view_helpers.rb
hammer_cli_katello-1.15.0 test/functional/content_view/content_view_helpers.rb
hammer_cli_katello-1.14.3 test/functional/content_view/content_view_helpers.rb
hammer_cli_katello-1.14.2 test/functional/content_view/content_view_helpers.rb
hammer_cli_katello-1.14.0 test/functional/content_view/content_view_helpers.rb
hammer_cli_katello-1.14.1 test/functional/content_view/content_view_helpers.rb
hammer_cli_katello-1.12.0 test/functional/content_view/content_view_helpers.rb
hammer_cli_katello-1.11.2 test/functional/content_view/content_view_helpers.rb
hammer_cli_katello-1.11.1 test/functional/content_view/content_view_helpers.rb
hammer_cli_katello-1.11.0 test/functional/content_view/content_view_helpers.rb
hammer_cli_katello-1.10.1 test/functional/content_view/content_view_helpers.rb
hammer_cli_katello-1.10.0 test/functional/content_view/content_view_helpers.rb
hammer_cli_katello-1.8.3 test/functional/content_view/content_view_helpers.rb
hammer_cli_katello-1.8.2 test/functional/content_view/content_view_helpers.rb
hammer_cli_katello-1.9.1 test/functional/content_view/content_view_helpers.rb
hammer_cli_katello-1.9.0 test/functional/content_view/content_view_helpers.rb
hammer_cli_katello-1.8.1 test/functional/content_view/content_view_helpers.rb
hammer_cli_katello-1.7.3 test/functional/content_view/content_view_helpers.rb
hammer_cli_katello-1.8.0 test/functional/content_view/content_view_helpers.rb
hammer_cli_katello-1.7.2 test/functional/content_view/content_view_helpers.rb