rubygem-rspec-core/rubygem-rspec-core-2.8.0-skip-some-tests.patch

38 lines
1.2 KiB
Diff
Raw Normal View History

2012-01-21 23:13:32 +00:00
--- rspec-core-2.8.0/spec/spec_helper.rb.debug 2012-01-22 07:08:34.000000000 +0900
+++ rspec-core-2.8.0/spec/spec_helper.rb 2012-01-22 07:45:55.000000000 +0900
@@ -17,10 +17,10 @@
Spork.prefork do
require 'rspec/autorun'
require 'autotest/rspec2'
- require 'aruba/api'
- require 'fakefs/spec_helpers'
+ #require 'aruba/api'
+ #require 'fakefs/spec_helpers'
- Dir['./spec/support/**/*.rb'].map {|f| require f}
+ Dir['./spec/support/**/*.rb'].map {|f| require f unless f.include?("config_options_helper")}
class NullObject
private
@@ -70,16 +70,16 @@
# structural
c.alias_it_should_behave_like_to 'it_has_behavior'
c.around {|example| sandboxed { example.run }}
- c.include Aruba::Api, :example_group => {
- :file_path => /spec\/command_line/
- }
+ #c.include Aruba::Api, :example_group => {
+ #:file_path => /spec\/command_line/
+ #}
# runtime options
c.treat_symbols_as_metadata_keys_with_true_values = true
c.color = !in_editor?
c.filter_run :focus
c.filter_run :foo
- c.include FakeFS::SpecHelpers, :fakefs
+ #c.include FakeFS::SpecHelpers, :fakefs
c.run_all_when_everything_filtered = true
c.filter_run_excluding :ruby => lambda {|version|
case version.to_s