Skip to content
Browse files

Remove to_set method call per rspec@d8af26e#commitcomment-861297

  • Loading branch information...
1 parent db5a740 commit 2b76e880ee0a890baf79937fb6ce97a616a007fa @ineverov committed Jan 16, 2012
Showing with 3 additions and 3 deletions.
  1. +1 −1 lib/rspec/core/drb_options.rb
  2. +1 −1 lib/rspec/core/filter_manager.rb
  3. +1 −1 lib/rspec/core/hooks.rb
View
2 lib/rspec/core/drb_options.rb
@@ -52,7 +52,7 @@ def add_line_numbers(argv)
end
end
- CONDITIONAL_FILTERS = [:if, :unless].to_set
+ CONDITIONAL_FILTERS = [:if, :unless]
def add_filter(argv, name, hash)
hash.each_pair do |k, v|
View
2 lib/rspec/core/filter_manager.rb
@@ -71,7 +71,7 @@ class FilterManager
:unless => lambda { |value| value }
}
- STANDALONE_FILTERS = [:locations, :line_numbers, :full_description].to_set
+ STANDALONE_FILTERS = [:locations, :line_numbers, :full_description]
module Describable
PROC_HEX_NUMBER = /0x[0-9a-f]+@/
View
2 lib/rspec/core/hooks.rb
@@ -398,7 +398,7 @@ def find_hook(hook, scope, example_group_class, example = nil)
private
- SCOPES = [:each, :all, :suite].to_set
+ SCOPES = [:each, :all, :suite]
def scope_and_options_from(*args)
scope = if SCOPES.include?(args.first)

0 comments on commit 2b76e88

Please sign in to comment.
Something went wrong with that request. Please try again.