2

I am asking this because in the articles I have read so far, concerning rspec and the database_cleaner gem I see the line config.use_transactional_fixtures = false. If I use the database_cleaner gem couldn't I just delete this line?

Alexander Popov
  • 23,073
  • 19
  • 91
  • 130

1 Answers1

4

Found it In rspec-core:

  # Used internally and by extension frameworks like rspec-rails, so they
  # can add config settings that are domain specific. For example:
  #
  #     RSpec.configure do |c|
  #       c.add_setting :use_transactional_fixtures,
  #         :default => true,
  #         :alias_with => :use_transactional_examples
  #     end

So, default is true

zishe
  • 10,665
  • 12
  • 64
  • 103