Skip to content

Instantly share code, notes, and snippets.

@revathskumar
Created July 26, 2012 15:13
Show Gist options
  • Save revathskumar/3182625 to your computer and use it in GitHub Desktop.
Save revathskumar/3182625 to your computer and use it in GitHub Desktop.
Rails 3 without Activerecord + Rspec
# Remove this line if you're not using ActiveRecord or ActiveRecord fixtures
config.fixture_path = "#{::Rails.root}/spec/fixtures"
# Remove this line if you're not using ActiveRecord or ActiveRecord fixtures
# config.fixture_path = "#{::Rails.root}/spec/fixtures"
# If you're not using ActiveRecord, or you'd prefer not to run each of your
# examples within a transaction, remove the following line or assign false
# instead of true.
config.use_transactional_fixtures = false
# Remove this line if you're not using ActiveRecord or ActiveRecord fixtures
config.fixture_path = "#{::Rails.root}/spec/fixtures"
# If you're not using ActiveRecord, or you'd prefer not to run each of your
# examples within a transaction, remove the following line or assign false
# instead of true.
config.use_transactional_fixtures = true
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment