diff options
Diffstat (limited to 'vendor/plugins/rspec/init.rb')
-rw-r--r-- | vendor/plugins/rspec/init.rb | 12 |
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 |