Skip to content

Commit

Permalink
Some of the old habits still linger within the rspec-rails generator
Browse files Browse the repository at this point in the history
  • Loading branch information
stevenheidel authored and parndt committed Jun 30, 2010
1 parent d5cdce3 commit 4378915
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 4 deletions.
2 changes: 0 additions & 2 deletions config/environments/test.rb
Expand Up @@ -20,5 +20,3 @@
# The :test delivery method accumulates sent emails in the
# ActionMailer::Base.deliveries array.
config.action_mailer.delivery_method = :test

config.gem 'rspec-rails', :version => '>= 1.3.2', :lib => false unless File.directory?(File.join(Rails.root, 'vendor/plugins/rspec-rails'))
4 changes: 2 additions & 2 deletions spec/spec_helper.rb
Expand Up @@ -18,7 +18,7 @@
# in your config/boot.rb
config.use_transactional_fixtures = true
config.use_instantiated_fixtures = false
config.fixture_path = RAILS_ROOT + '/spec/fixtures/'
config.fixture_path = Rails.root + '/spec/fixtures/'

# == Fixtures
#
Expand All @@ -37,7 +37,7 @@
#
# You can also declare which fixtures to use (for example fixtures for test/fixtures):
#
# config.fixture_path = RAILS_ROOT + '/spec/fixtures/'
# config.fixture_path = Rails.root + '/spec/fixtures/'
#
# == Mock Framework
#
Expand Down

0 comments on commit 4378915

Please sign in to comment.