Permalink
Browse files

CONDITIONAL is more descriptive

  • Loading branch information...
1 parent d8af26e commit 7ce078e4948e8f0d1745a50bb83dd87a68b2e50e @dchelimsky dchelimsky committed Jan 12, 2012
Showing with 2 additions and 2 deletions.
  1. +2 −2 lib/rspec/core/drb_options.rb
@@ -52,11 +52,11 @@ def add_line_numbers(argv)
end
end
- BOOLEAN_FILTERS = [:if, :unless].to_set
+ CONDITIONAL_FILTERS = [:if, :unless].to_set
def add_filter(argv, name, hash)
hash.each_pair do |k, v|
- next if BOOLEAN_FILTERS.include?(k)
+ next if CONDITIONAL_FILTERS.include?(k)
tag = name == :inclusion ? k.to_s : "~#{k}"
tag << ":#{v}" if v.is_a?(String)
argv << "--tag" << tag

0 comments on commit 7ce078e

Please sign in to comment.