diff --git a/acceptance/tests/modules/search/by_keyword.rb b/acceptance/tests/modules/search/by_keyword.rb index 8d362a37b..62ae5835b 100644 --- a/acceptance/tests/modules/search/by_keyword.rb +++ b/acceptance/tests/modules/search/by_keyword.rb @@ -1,25 +1,25 @@ test_name 'puppet module search should do exact keyword matches' step 'Setup' stub_forge_on(master) step 'Search for a module by exact keyword' on master, puppet("module search github") do assert_equal '', stderr assert_equal <<-STDOUT, stdout Searching http://forge.puppetlabs.com ... NAME DESCRIPTION AUTHOR KEYWORDS -pmtacceptance-git This is a dummy git module... @pmtacceptance git \e[0;32mgithub\e[0m +pmtacceptance-git UNKNOWN @pmtacceptance git \e[0;32mgithub\e[0m STDOUT end # FIXME: The Forge presently matches partial keywords. # step 'Search for a module by partial keyword' # on master, puppet("module search hub") do # assert_equal '', stderr # assert_equal <<-STDOUT, stdout # Searching http://forge.puppetlabs.com ... # No results found for 'hub'. # STDOUT # end diff --git a/acceptance/tests/modules/search/by_module_name.rb b/acceptance/tests/modules/search/by_module_name.rb index 601c0bde6..1a962a246 100644 --- a/acceptance/tests/modules/search/by_module_name.rb +++ b/acceptance/tests/modules/search/by_module_name.rb @@ -1,35 +1,35 @@ test_name 'Searching for modules by part of the name' step 'Setup' stub_forge_on(master) step 'Search for modules by partial name' on master, puppet("module search geordi") do assert_equal '', stderr assert_equal <<-STDOUT, stdout Searching http://forge.puppetlabs.com ... NAME DESCRIPTION AUTHOR KEYWORDS -pmtacceptance-\e[0;32mgeordi\e[0m This is a module that do... @pmtacceptance star trek +pmtacceptance-\e[0;32mgeordi\e[0m UNKNOWN @pmtacceptance star trek STDOUT end # FIXME: The Forge does not presently support matches by dashed full name. # step 'Search for modules by partial full name (dashed)' # on master, puppet("module search tance-ge") do # assert_equal '', stderr # assert_equal <<-STDOUT, stdout # Searching http://forge.puppetlabs.com ... # NAME DESCRIPTION AUTHOR KEYWORDS # pmtacceptance-geordi This is a module that do... @pmtacceptance star trek # STDOUT # end step 'Search for modules by partial full name (slashed)' on master, puppet("module search tance/ge") do assert_equal '', stderr assert_equal <<-STDOUT, stdout Searching http://forge.puppetlabs.com ... NAME DESCRIPTION AUTHOR KEYWORDS pmtaccep\e[0;32mtance-ge\e[0mordi This is a module that do... @pmtacceptance star trek STDOUT end