spec/virginia/service_spec.rb in virginia-0.1.0 vs spec/virginia/service_spec.rb in virginia-0.2.0
- old
+ new
@@ -7,16 +7,16 @@
end
let(:host) { "127.0.0.1" }
let(:port) { 8989 }
let(:handler) { DummyHandler }
- before :all do
+ before :each do
Adhearsion.config.virginia.host = host
Adhearsion.config.virginia.port = port
Adhearsion.config.virginia.handler = handler
end
it "should instantiate the handler" do
handler.should_receive(:new).with(host, port)
Virginia::Service.start
end
-end
\ No newline at end of file
+end