aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorLouise Crow <louise.crow@gmail.com>2011-02-23 14:11:24 +0000
committerLouise Crow <louise.crow@gmail.com>2011-02-23 14:11:24 +0000
commitbc894f8e1b950950f3c682487139a8d5a11ae6d9 (patch)
treec410ff7d8c3ca89030b978fece10226d870602ba
parent7b9bd4940ff9dab4d2d0a27dba14d2dd1f2c679c (diff)
Add rspec-rails as a dependency for the test env.
-rw-r--r--config/environments/test.rb4
1 files changed, 3 insertions, 1 deletions
diff --git a/config/environments/test.rb b/config/environments/test.rb
index f0689b924..ed87e5ecf 100644
--- a/config/environments/test.rb
+++ b/config/environments/test.rb
@@ -16,4 +16,6 @@ config.action_controller.perform_caching = false
# Tell ActionMailer not to deliver emails to the real world.
# The :test delivery method accumulates sent emails in the
# ActionMailer::Base.deliveries array.
-config.action_mailer.delivery_method = :test \ No newline at end of file
+config.action_mailer.delivery_method = :test
+
+ config.gem 'rspec-rails', :version => '>= 1.3.3', :lib => false unless File.directory?(File.join(Rails.root, 'vendor/plugins/rspec-rails'))