File: 02_disable_tests_depending_on_network_access.diff

package info (click to toggle)
ruby-sawyer 0.9.3-1
  • links: PTS, VCS
  • area: main
  • in suites: forky, sid
  • size: 280 kB
  • sloc: ruby: 1,224; sh: 17; makefile: 4
file content (17 lines) | stat: -rw-r--r-- 463 bytes parent folder | download
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
Description: Disable tests that depends on network access
Author: Sudheesh Shetty <sudheeshshetty@gmail.com>
        Miguel Landaeta <nomadium@debian.org>
Forwarded: no
Last-Update: 2016-03-19

--- a/test/agent_test.rb
+++ b/test/agent_test.rb
@@ -191,7 +191,7 @@ module Sawyer
         [200, { "Content-Type" => "application/json" }, " "]
       end
 
-      assert_equal 200, @agent.root.status
+      #assert_equal 200, @agent.root.status
     end
   end
 end