test/runner_test.rb in dante-0.0.4 vs test/runner_test.rb in dante-0.1.0
- old
+ new
@@ -32,21 +32,21 @@
refute_equal 0, @pid = `cat /tmp/dante.pid`.to_i
Process.kill "INT", @pid
sleep(1) # Wait to complete
@output = File.read(@process.tmp_path)
assert_match /Started on 8080!!/, @output
- assert_match /Abort!!/, @output
+ assert_match /Interrupt!!/, @output
assert_match /Closing!!/, @output
end
it "can properly handles aborts and starts / stops on TERM" do
refute_equal 0, @pid = `cat /tmp/dante.pid`.to_i
Process.kill "TERM", @pid
sleep(1) # Wait to complete
@output = File.read(@process.tmp_path)
assert_match /Started on 8080!!/, @output
- assert_match /Abort!!/, @output
+ assert_match /Interrupt!!/, @output
assert_match /Closing!!/, @output
end
end # daemonize
describe "with execute accepting block" do
@@ -62,10 +62,10 @@
refute_equal 0, @pid = `cat /tmp/dante.pid`.to_i
Process.kill "INT", @pid
sleep(1) # Wait to complete
@output = File.read(@process.tmp_path)
assert_match /Started on 8080!!/, @output
- assert_match /Abort!!/, @output
+ assert_match /Interrupt!!/, @output
assert_match /Closing!!/, @output
end
end # execute with block
describe "with parsing options" do
\ No newline at end of file