diff options
| author | Dominic Maraglia <dmaraglia@gmail.com> | 2011-04-20 14:58:26 -0700 |
|---|---|---|
| committer | Dominic Maraglia <dmaraglia@gmail.com> | 2011-04-20 14:58:26 -0700 |
| commit | ac428b9557e2da251e4b51e48de844833ca0aa2a (patch) | |
| tree | b3ccc5cf1a0dae6e2662dc61855281dc6ba8e8d5 /acceptance/tests/doc | |
| parent | 97e9e5f223cb7baefd52456e2324c592fe415dca (diff) | |
| download | puppet-ac428b9557e2da251e4b51e48de844833ca0aa2a.tar.gz puppet-ac428b9557e2da251e4b51e48de844833ca0aa2a.tar.xz puppet-ac428b9557e2da251e4b51e48de844833ca0aa2a.zip | |
Move tests from Puppet-acceptance repo
Diffstat (limited to 'acceptance/tests/doc')
| -rw-r--r-- | acceptance/tests/doc/should_print_function_reference.rb | 5 | ||||
| -rwxr-xr-x | acceptance/tests/doc/ticket_4120_cannot_generate_type_reference.rb | 5 |
2 files changed, 10 insertions, 0 deletions
diff --git a/acceptance/tests/doc/should_print_function_reference.rb b/acceptance/tests/doc/should_print_function_reference.rb new file mode 100644 index 000000000..3ffcf8097 --- /dev/null +++ b/acceptance/tests/doc/should_print_function_reference.rb @@ -0,0 +1,5 @@ +test_name "verify we can print the function reference" +on(agents, puppet_doc("-r", "function")) do + fail_test "didn't print function reference" unless + stdout.include? 'Function Reference' +end diff --git a/acceptance/tests/doc/ticket_4120_cannot_generate_type_reference.rb b/acceptance/tests/doc/ticket_4120_cannot_generate_type_reference.rb new file mode 100755 index 000000000..7f721c272 --- /dev/null +++ b/acceptance/tests/doc/ticket_4120_cannot_generate_type_reference.rb @@ -0,0 +1,5 @@ +test_name "verify we can print the function reference" +on(agents, puppet_doc("-r", "type")) do + fail_test "didn't print type reference" unless + stdout.include? 'Type Reference' +end |
