Module
Aruba::Api
In:
lib/aruba/api.rb
Methods
_mkdir
all_output
all_stderr
all_stdout
announce_or_puts
append_to_file
assert_exact_output
assert_exit_status_and_output
assert_exit_status_and_partial_output
assert_exiting_with
assert_failing_with
assert_partial_output
assert_passing_with
cd
check_directory_presence
check_exact_file_content
check_file_content
check_file_presence
create_dir
create_file
current_dir
current_ruby
detect_ruby
dirs
ensure_newline
in_current_dir
install_gems
original_env
output_from
prep_for_fs_check
processes
regexp
remove_file
restore_env
run
run_interactive
run_simple
set_env
stderr_from
stdout_from
stop_processes!
timeout
unescape
unset_bundler_env_vars
use_clean_gemset
write_interactive
Constants
DEFAULT_TIMEOUT_SECONDS
=
1
Public Instance methods
_mkdir
(dir_name)
all_output
()
all_stderr
()
all_stdout
()
announce_or_puts
(msg)
append_to_file
(file_name, file_content)
assert_exact_output
(exact_output)
assert_exit_status_and_output
(expect_to_pass, output, expect_exact_output)
assert_exit_status_and_partial_output
(expect_to_pass, partial_output)
assert_exiting_with
(expect_to_pass)
assert_failing_with
(partial_output)
assert_partial_output
(partial_output)
assert_passing_with
(partial_output)
cd
(dir)
check_directory_presence
(paths, expect_presence)
check_exact_file_content
(file, exact_content)
check_file_content
(file, partial_content, expect_match)
check_file_presence
(paths, expect_presence)
create_dir
(dir_name)
create_file
(file_name, file_content, check_presence = false)
current_dir
()
current_ruby
()
detect_ruby
(cmd)
dirs
()
ensure_newline
(str)
in_current_dir
(&block)
install_gems
(gemfile)
original_env
()
output_from
(cmd)
prep_for_fs_check
(&block)
processes
()
regexp
(string_or_regexp)
remove_file
(file_name)
restore_env
()
run
(cmd) {|process| ...}
run_interactive
(cmd)
run_simple
(cmd, fail_on_error=true)
set_env
(key, value)
stderr_from
(cmd)
stdout_from
(cmd)
stop_processes!
()
timeout
()
unescape
(string)
unset_bundler_env_vars
()
use_clean_gemset
(gemset)
write_interactive
(input)
[Validate]