spec/cuboid/rpc/server/agent/service_spec.rb in cuboid-0.1.9.1 vs spec/cuboid/rpc/server/agent/service_spec.rb in cuboid-0.2
- old
+ new
@@ -5,10 +5,10 @@
before( :each ) do
Cuboid::Options.paths.services = "#{fixtures_path}services/"
Cuboid::Options.system.max_slots = 10
end
let(:instance_count) { 3 }
- let(:agent) { agent_spawn application: "#{fixtures_path}/mock_app.rb" }
+ let(:agent) { agent_spawn application: "#{fixtures_path}/mock_app.rb", daemonize: true }
let(:subject) { agent.test_service }
describe '#agent' do
it 'provides access to the parent Agent' do
expect(subject.test_agent).to be_truthy