Test net-ssh error filtering
This commit is contained in:
@@ -18,3 +18,7 @@ Feature: CLI error reporting
|
||||
Scenario: prepends recipe file path in the backtrace
|
||||
When I execute the recipe
|
||||
Then the output must match /^\s+recipe\.rb \(recipe\)\n\s+recipe\.rb:/
|
||||
|
||||
Scenario: excludes net-ssh from backtrace
|
||||
When I execute the recipe on unknown remote target
|
||||
Then the output must not contain "net-ssh"
|
||||
|
@@ -14,6 +14,10 @@ When /^I execute the recipe on remote target$/ do
|
||||
run_simple 'producer recipe.rb -t some_host.test', false
|
||||
end
|
||||
|
||||
When /^I execute the recipe on unknown remote target$/ do
|
||||
run_simple 'producer recipe.rb -t #unknown_host.test', false
|
||||
end
|
||||
|
||||
When /^I successfully execute the recipe$/ do
|
||||
step 'I execute the recipe'
|
||||
assert_exit_status 0
|
||||
|
Reference in New Issue
Block a user