aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
-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'))