Skip to content

Instantly share code, notes, and snippets.

/ruby.rb Secret

Created May 19, 2016 12:24
Show Gist options
  • Star 0 You must be signed in to star a gist
  • Fork 0 You must be signed in to fork a gist
  • Save anonymous/ed7b776cb5bbd2a87287004cd523c748 to your computer and use it in GitHub Desktop.
Save anonymous/ed7b776cb5bbd2a87287004cd523c748 to your computer and use it in GitHub Desktop.
Spork.prefork do
# Loading more in this block will cause your tests to run faster. However,
# if you change any configuration or code from libraries loaded here, you'll
# need to restart spork for it take effect.
RSpec.configure do |config|
config.mock_with :rspec
# config.use_transactional_fixtures = true
# config.include(MailerMacros)
# config.before(:each) { reset_email }
config.filter_run :focus => true
config.run_all_when_everything_filtered = true
# Run specs in random order to surface order dependencies. If you find an
# order dependency and want to debug it, you can fix the order by providing
# the seed, which is printed after each run.
# --seed 1234
config.order = 'random'
end
end
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment