File: disable-failing-tests.patch

package info (click to toggle)
ruby-hipchat 1.5.2-3.1
  • links: PTS, VCS
  • area: main
  • in suites: bookworm
  • size: 296 kB
  • sloc: ruby: 1,574; makefile: 5
file content (38 lines) | stat: -rw-r--r-- 1,245 bytes parent folder | download | duplicates (2)
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
Description: Disable failing tests that use old webmock version.
Author: Balasankar C <balasankarc@autistici.org>
Bug: https://github.com/hipchat/hipchat-rb/issues/169
Last-Update: 2016-02-25
---
This patch header follows DEP-3: http://dep.debian.net/deps/dep3/
--- a/spec/hipchat_api_v2_spec.rb
+++ b/spec/hipchat_api_v2_spec.rb
@@ -55,19 +55,19 @@
 
   describe "#statistics" do
     include_context "HipChatV2"
-    it "is successful without custom options" do
-      mock_successful_statistics
+    #it "is successful without custom options" do
+      #mock_successful_statistics
 
-      expect(room.statistics()).to be_truthy
-    end
+      #expect(room.statistics()).to be_truthy
+    #end
 
-    it "is successful from fetched room" do
-      mock_successful_rooms
-      mock_successful_statistics
+    #it "is successful from fetched room" do
+      #mock_successful_rooms
+      #mock_successful_statistics
 
-      expect(subject.rooms).to be_truthy
-      expect(subject.rooms.first.statistics).to be_truthy
-    end
+      #expect(subject.rooms).to be_truthy
+      #expect(subject.rooms.first.statistics).to be_truthy
+    #end
 
     it "fails when the room doen't exist" do
       mock(HipChat::Room).get(anything, anything) {