Skip to content

HTTPS clone URL

Subversion checkout URL

You can clone with HTTPS or Subversion.

Download ZIP
Browse files

Ensure that values passed to `config.filter_run` are respected when

running over DRb (using spork).

- Fixes #554.
  • Loading branch information...
commit ddc36c00bea333694087548aedce7d1249604436 1 parent 5bafc3a
David Chelimsky dchelimsky authored committed
2  lib/rspec/core/configuration_options.rb
View
@@ -33,7 +33,7 @@ def drb_argv
end
def filter_manager
- @filter_manager ||= FilterManager.new
+ @filter_manager ||= RSpec::configuration.filter_manager
end
private
7 spec/rspec/core/configuration_options_spec.rb
View
@@ -305,6 +305,13 @@
end
end
+ describe "#filter_manager" do
+ it "returns the same object as RSpec::configuration.filter_manager" do
+ config_options_object.filter_manager.
+ should be(RSpec::configuration.filter_manager)
+ end
+ end
+
describe "sources: ~/.rspec, ./.rspec, custom, CLI, and SPEC_OPTS" do
before(:each) do
FileUtils.mkpath(File.expand_path("~"))
Please sign in to comment.
Something went wrong with that request. Please try again.