Skip to content

Commit

Permalink
use railscasts way of allowing focus
Browse files Browse the repository at this point in the history
  • Loading branch information
joemsak authored and parndt committed Oct 26, 2011
1 parent c086151 commit e8bb4f1
Showing 1 changed file with 3 additions and 0 deletions.
3 changes: 3 additions & 0 deletions spec/spec_helper.rb
Expand Up @@ -32,7 +32,10 @@ def setup_environment
config.mock_with :rspec

config.fixture_path = ::Rails.root.join('spec', 'fixtures').to_s

config.treat_symbols_as_metadata_keys_with_true_values = true
config.filter_run :focus => true
config.run_all_when_everything_filtered = true
# If you're not using ActiveRecord, or you'd prefer not to run each of your
# examples within a transaction, comment the following line or assign false
# instead of true.
Expand Down

0 comments on commit e8bb4f1

Please sign in to comment.