Skip to content

Commit

Permalink
Add option to run specific spec with focus
Browse files Browse the repository at this point in the history
  • Loading branch information
Mateus Pontes committed Apr 12, 2017
1 parent 439c0e1 commit 1ce4549
Showing 1 changed file with 2 additions and 0 deletions.
2 changes: 2 additions & 0 deletions spec/spec_helper.rb
Original file line number Diff line number Diff line change
Expand Up @@ -22,4 +22,6 @@
Mongo::Logger.logger.level = Logger::INFO if Mongoid::Compatibility::Version.mongoid5? || Mongoid::Compatibility::Version.mongoid6?
Mongoid.belongs_to_required_by_default = false if Mongoid::Compatibility::Version.mongoid6?
end
config.filter_run focus: true
config.run_all_when_everything_filtered = true
end

0 comments on commit 1ce4549

Please sign in to comment.