Sha256: c20de779c7452e29cbaaea80da90b4a26c7879dd54128781f5ab361feb4b0094
Contents?: true
Size: 1.08 KB
Versions: 1
Compression:
Stored size: 1.08 KB
Contents
require File.expand_path(File.dirname(__FILE__) + '/spec_helper') describe Controller do it 'should start a DRb and Ring Server when specifying NO interface or port' do controller = Controller.new controller.start controller.drb_server_uri.should =~ /druby/ controller.stop end it 'should start a DRb and Ring Server on a specified interface' do controller = Controller.new(:interface => '127.0.0.1') controller.start controller.drb_server_uri.should =~ /druby/ controller.stop end it 'should start a DRb and Ring Server on specified ports' do controller = Controller.new(:drb_server_port => 11235, :ring_server_port => 12358) controller.start controller.drb_server_uri.should =~ /druby/ controller.stop end end describe Provider do before(:all) do @controller = Controller.new(:ring_server_port => 12350) @controller.start end it 'should register a new provider on a specified port' do provider = Provider.new(:ring_server_port => 12350) provider.start end after(:all) do @controller.stop end end
Version data entries
1 entries across 1 versions & 1 rubygems
Version | Path |
---|---|
watirgrid-0.0.1 | spec/watirgrid_spec.rb |