diff options
| author | mo khan <mo@mokhan.ca> | 2013-08-28 07:20:13 -0600 |
|---|---|---|
| committer | mo khan <mo@mokhan.ca> | 2013-08-28 07:20:13 -0600 |
| commit | db1191ec0e7305d684383f8974e2fa437f77ad5a (patch) | |
| tree | 5e27b197dff849d22d8e1f50eb75aa499b16bd06 /code/spyglass/test/boots_test.rb | |
Diffstat (limited to 'code/spyglass/test/boots_test.rb')
| -rw-r--r-- | code/spyglass/test/boots_test.rb | 13 |
1 files changed, 13 insertions, 0 deletions
diff --git a/code/spyglass/test/boots_test.rb b/code/spyglass/test/boots_test.rb new file mode 100644 index 0000000..e4b4945 --- /dev/null +++ b/code/spyglass/test/boots_test.rb @@ -0,0 +1,13 @@ +require 'helper' + +class BootTest < MiniTest::Unit::TestCase + def setup + spyglass + end + + def test_it_boots + # If this returns `nil` then our process is still running, meaning + # it hasn't crashed! + refute Process.waitpid(@pid, Process::WNOHANG) + end +end |
