File: remove-aruba-stuff-in-tests.patch

package info (click to toggle)
ruby-rspec 3.5.0c3e0m0s0-1
  • links: PTS, VCS
  • area: main
  • in suites: stretch
  • size: 6,312 kB
  • ctags: 4,788
  • sloc: ruby: 62,572; sh: 785; makefile: 100
file content (32 lines) | stat: -rw-r--r-- 1,118 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
Description: remove use of aruba in spec_helper.rb
 Aruba is not packaged for Debian (yet). In the mean time, as it is not
 essential for the test suite, anything related to Aruba is commented out in
 spec_helper.rb.
Author: Cédric Boutillier <cedric.boutillier@gmail.com>
Last-Update: 2013-03-26
---
This patch header follows DEP-3: http://dep.debian.net/deps/dep3/
--- a/rspec-core/spec/spec_helper.rb
+++ b/rspec-core/spec/spec_helper.rb
@@ -17,7 +17,7 @@
 Spork.prefork do
   require 'rspec/autorun'
 #  require 'autotest/rspec2'
-  require 'aruba/api'
+#  require 'aruba/api'
 
   if RUBY_PLATFORM == 'java'
     # Works around https://jira.codehaus.org/browse/JRUBY-5678
@@ -101,9 +101,9 @@
     c.alias_it_behaves_like_to 'it_has_behavior'
     c.around {|example| Sandboxing.sandboxed { example.run }}
     c.include(RSpecHelpers)
-    c.include Aruba::Api, :example_group => {
-      :file_path => /spec\/command_line/
-    }
+#    c.include Aruba::Api, :example_group => {
+#      :file_path => /spec\/command_line/
+#    }
 
     c.expect_with :rspec do |expectations|
       expectations.syntax = :expect