This repository is private.
All pages are served over SSL and all pushing and pulling is done over SSH.
No one may fork, clone, or view it unless they are added as a member.
Every repository with this icon (
) is private.
Every repository with this icon (
This repository is public.
Anyone may fork, clone, or view it.
Every repository with this icon (
) is public.
Every repository with this icon (
Hongli Lai (Phusion) (author)
Thu May 15 04:04:50 -0700 2008
| edbb8f20 » | Hongli Lai (Phusion) | 2008-02-18 | 1 | shared_examples_for "AbstractServer" do | |
| c214a11e » | Hongli Lai (Phusion) | 2008-05-06 | 2 | it "doesn't crash if it's started and stopped multiple times" do | |
| edbb8f20 » | Hongli Lai (Phusion) | 2008-02-18 | 3 | 3.times do | |
| 4 | # Give the server some time to install the | ||||
| 5 | # signal handlers. If we don't give it enough | ||||
| 6 | # time, it will raise an ugly exception when | ||||
| 7 | # we send it a signal. | ||||
| 8 | sleep 0.1 | ||||
| 9 | @server.stop | ||||
| 10 | @server.start | ||||
| 11 | end | ||||
| 12 | end | ||||
| 95f365aa » | Hongli Lai (Phusion) | 2008-02-28 | 13 | ||
| c214a11e » | Hongli Lai (Phusion) | 2008-05-06 | 14 | it "raises a ServerAlreadyStarted if the server is already started" do | |
| 382f8d52 » | Hongli Lai (Phusion) | 2008-02-28 | 15 | lambda { @server.start }.should raise_error(AbstractServer::ServerAlreadyStarted) | |
| 95f365aa » | Hongli Lai (Phusion) | 2008-02-28 | 16 | end | |
| edbb8f20 » | Hongli Lai (Phusion) | 2008-02-18 | 17 | end | |






