Permalink
Browse files

focus rather than focused

  • Loading branch information...
1 parent 6d7c861 commit d3456f3e8da837aeb495cd7dcf916e399fe83e41 @dchelimsky dchelimsky committed Dec 29, 2010
Showing with 1 addition and 1 deletion.
  1. +1 −1 spec/spec_helper.rb
View
@@ -53,7 +53,7 @@ def in_editor?
RSpec.configure do |c|
c.color_enabled = !in_editor?
- c.filter_run :focused => true
+ c.filter_run :focus => true
c.run_all_when_everything_filtered = true
c.filter_run_excluding :ruby => lambda {|version|
case version.to_s

2 comments on commit d3456f3

@myronmarston
Owner

Nice, I've tended to use :focus over :focused myself.

Should the focused example alias also be updated? It should support either form if the code is changed to alias_example_to :focused, :focused => true, :focus => true, right?

@dchelimsky
Owner

Should probably support both forms, yes.

Please sign in to comment.