Package: ruby-em-synchrony / 1.0.3-1

disable-hiredis-tests.patch Patch series | download
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
Description: Disable tests requiring hiredis adapter
 Debian specific patch
Author: Pirate Praveen <praveen@debian.org>
Last-Updated: 2014-05-04

--- a/spec/hiredis_spec.rb
+++ b/spec/hiredis_spec.rb
@@ -2,7 +2,7 @@
 
 describe EM::Hiredis do
 
-  it "should yield until connection is ready" do
+  xit "should yield until connection is ready" do
     EventMachine.synchrony do
       connection = EM::Hiredis::Client.connect
       connection.connected.should be_true
@@ -11,7 +11,7 @@
     end
   end
 
-  it "should work with compact connect syntax" do
+  xit "should work with compact connect syntax" do
     EventMachine.synchrony do
       redis = EM::Hiredis.connect
 
@@ -22,7 +22,7 @@
     end
   end
 
-  it "should work with manual db select" do
+  xit "should work with manual db select" do
     EventMachine.synchrony do
       redis = EM::Hiredis.connect 'redis://127.0.0.1:6379'
       redis.select(0)
@@ -34,7 +34,7 @@
     end
   end
 
-  it "should get/set records synchronously" do
+  xit "should get/set records synchronously" do
     EventMachine.synchrony do
       redis = EM::Hiredis::Client.connect
 
@@ -46,7 +46,7 @@
     end
   end
 
-  it "should incr/decr key synchronously" do
+  xit "should incr/decr key synchronously" do
     EventMachine.synchrony do
       redis = EM::Hiredis::Client.connect
       redis.del('key')