Skip to content

HTTPS clone URL

Subversion checkout URL

You can clone with HTTPS or Subversion.

Download ZIP
Browse files

fill in pending example

  • Loading branch information...
commit ea12445118ab10b1f0d7f48f7914f06ba9849ebd 1 parent 80bdf06
David Chelimsky dchelimsky authored
Showing with 7 additions and 4 deletions.
  1. +7 −4 spec/rspec/core/configuration_options_spec.rb
11 spec/rspec/core/configuration_options_spec.rb
View
@@ -48,6 +48,13 @@
opts.configure(config)
end
+ it "assigns inclusion_filter" do
+ opts = config_options_object(*%w[--tag awesome])
+ config = RSpec::Core::Configuration.new
+ opts.configure(config)
+ config.inclusion_filter.should have_key(:awesome)
+ end
+
it "merges the :exclusion_filter option with the default exclusion_filter" do
opts = config_options_object(*%w[--tag ~slow])
config = RSpec::Core::Configuration.new
@@ -62,10 +69,6 @@
opts.configure(config)
end
- it "assigns filter" do
- pending
- end
-
[
["--failure-exit-code", "3", :failure_exit_code, 3 ],
["--pattern", "foo/bar", :pattern, "foo/bar"],
Please sign in to comment.
Something went wrong with that request. Please try again.