public
Description: Rubinius, the Ruby VM
Homepage: http://rubini.us
Clone URL: git://github.com/evanphx/rubinius.git
Search Repo:
hack to fix DRb.start_service spec to at least test start_service
dgtized (author)
Mon Apr 28 10:01:41 -0700 2008
commit  f3f94c9b53045ddde335981897e2f6087dab7ef2
tree    4f9aeb40c7e8bd1d6a06b2a960697bbe9260aede
parent  4c8d6d90c69615386e26c71633e242f4e1f19342
...
4
5
6
7
8
 
 
 
 
 
 
9
10
11
...
4
5
6
 
 
7
8
9
10
11
12
13
14
15
0
@@ -4,8 +4,12 @@
0
 
0
 describe "DRb.start_service" do
0
   before :all do
0
- port = 9001 + (Process.pid & 7)
0
- @url = "druby://localhost:#{port}"
0
+ @port = 9001 + (Process.pid & 7 )
0
+ end
0
+
0
+ before :each do
0
+ @url = "druby://localhost:#{@port}"
0
+ @port += 1
0
   end
0
 
0
   it "should run a basic remote call" do
...
1
2
3
...
 
 
 
0
@@ -1,4 +1 @@
0
-fails:DRb.start_server should run a basic remote call
0
-fails:DRb.start_server should run a basic remote call passing a block
0
-fails:DRb.start_service should run a basic remote call passing a block

Comments

    No one has commented yet.