aboutsummaryrefslogtreecommitdiffstats
path: root/vendor/plugins/rspec/init.rb
diff options
context:
space:
mode:
authorfrancis <francis>2008-01-23 01:54:49 +0000
committerfrancis <francis>2008-01-23 01:54:49 +0000
commitfdaa98e06ba6d6f8b62480a83e9ecffdbcb21402 (patch)
tree40b8b0d7602a7a17bead44e0fd3a2ea101b18bd6 /vendor/plugins/rspec/init.rb
parent60eaae4f7df1f1dae91defb87d3707451c359cf4 (diff)
Upgrade to rspec 1.1.2
Diffstat (limited to 'vendor/plugins/rspec/init.rb')
-rw-r--r--vendor/plugins/rspec/init.rb12
1 files changed, 9 insertions, 3 deletions
diff --git a/vendor/plugins/rspec/init.rb b/vendor/plugins/rspec/init.rb
index f710a3dbf..6262f0368 100644
--- a/vendor/plugins/rspec/init.rb
+++ b/vendor/plugins/rspec/init.rb
@@ -1,3 +1,9 @@
-if ENV['RAILS_ENV'] == 'test'
- require 'spec'
-end
+# Placeholder to satisfy Rails.
+#
+# Do NOT add any require statements to this file. Doing
+# so will cause Rails to load this plugin all of the time.
+#
+# Running 'ruby script/generate rspec' will
+# generate spec/spec_helper.rb, which includes the necessary
+# require statements and configuration. This file should
+# be required by all of your spec files. \ No newline at end of file