File: disable_specs_assuming_they_are_first_caller.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 (28 lines) | stat: -rw-r--r-- 1,265 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
Description: disable some failing specs
 because the backtrace contains a reference to debian/ruby-tests.rb
Author: Cédric Boutillier <boutil@debian.org>
Forwarded: not-needed
Last-Update: 2016-03-02

--- a/rspec-core/spec/rspec/core/formatters/documentation_formatter_spec.rb
+++ b/rspec-core/spec/rspec/core/formatters/documentation_formatter_spec.rb
@@ -81,7 +81,7 @@
     end
 
     # The backtrace is slightly different on JRuby/Rubinius so we skip there.
-    it 'produces the expected full output', :if => RSpec::Support::Ruby.mri? do
+    xit 'produces the expected full output', :if => RSpec::Support::Ruby.mri? do
       output = run_example_specs_with_formatter("doc")
       output.gsub!(/ +$/, '') # strip trailing whitespace
 
--- a/rspec-core/spec/rspec/core/formatters/progress_formatter_spec.rb
+++ b/rspec-core/spec/rspec/core/formatters/progress_formatter_spec.rb
@@ -40,7 +40,7 @@
   end
 
   # The backtrace is slightly different on JRuby/Rubinius so we skip there.
-  it 'produces the expected full output', :if => RSpec::Support::Ruby.mri? do
+  xit 'produces the expected full output', :if => RSpec::Support::Ruby.mri? do
     output = run_example_specs_with_formatter("progress")
     output.gsub!(/ +$/, '') # strip trailing whitespace