Filter ruby lib directory from error backtrace

This commit is contained in:
Thibault Jouan
2015-04-03 22:00:51 +00:00
parent 0da47a0acb
commit b93e5717ce
4 changed files with 16 additions and 1 deletions

View File

@@ -25,3 +25,7 @@ end
Then /^the error output must contain exactly "([^"]+)"$/ do |content|
assert_exact_output content, all_stderr
end
Then /^the output must not contain ruby lib directory$/ do
assert_no_partial_output RbConfig::CONFIG['rubylibdir'], all_output
end