Skip to content
This repository has been archived by the owner on Nov 30, 2024. It is now read-only.

Commit

Permalink
focus rather than focused
Browse files Browse the repository at this point in the history
  • Loading branch information
dchelimsky committed Dec 29, 2010
1 parent 6d7c861 commit d3456f3
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion spec/spec_helper.rb
Original file line number Diff line number Diff line change
Expand Up @@ -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
Expand Down

2 comments on commit d3456f3

@myronmarston
Copy link
Member

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

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
Copy link
Contributor Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Should probably support both forms, yes.

Please sign in to comment.