Skip to content

Commit

Permalink
Document that you need to turn off use_transactional_fixtures if you're
Browse files Browse the repository at this point in the history
not using AR (in spec_helper.rb).
  • Loading branch information
dchelimsky committed Jun 5, 2010
1 parent 70cb810 commit f0a4fe3
Showing 1 changed file with 3 additions and 3 deletions.
6 changes: 3 additions & 3 deletions lib/generators/rspec/install/templates/spec/spec_helper.rb
Original file line number Diff line number Diff line change
Expand Up @@ -20,7 +20,7 @@

config.fixture_path = "#{::Rails.root}/spec/fixtures"

# If you'd prefer not to run each of your examples within a transaction,
# uncomment the following line.
# config.use_transactional_examples = false
# If you're not using ActiveRecord, or you'd prefer not to run each of your
# examples within a transaction, uncomment the following line.
# config.use_transactional_fixtures = false
end

0 comments on commit f0a4fe3

Please sign in to comment.