aboutsummaryrefslogtreecommitdiffstats
path: root/spec/spec_helper.rb
diff options
context:
space:
mode:
authorSeb Bacon <seb.bacon@gmail.com>2011-02-25 11:47:14 +0000
committerSeb Bacon <seb.bacon@gmail.com>2011-02-25 11:47:14 +0000
commit224b8a4ba3a24af91068505c7907724448a4096d (patch)
tree54a0d0c08605c6bc16e4a5e6b5b8e4d02936e9f2 /spec/spec_helper.rb
parent4a239ae108a834cc5e73b8b9ab53cd30b4f8dd52 (diff)
ensure tests run with test environment
Diffstat (limited to 'spec/spec_helper.rb')
-rw-r--r--spec/spec_helper.rb1
1 files changed, 1 insertions, 0 deletions
diff --git a/spec/spec_helper.rb b/spec/spec_helper.rb
index 127d10dbe..25bdb229a 100644
--- a/spec/spec_helper.rb
+++ b/spec/spec_helper.rb
@@ -1,6 +1,7 @@
# This file is copied to ~/spec when you run 'ruby script/generate rspec'
# from the project root directory.
ENV["RAILS_ENV"] = "test"
+RAILS_ENV = "test"
require File.expand_path(File.dirname(__FILE__) + "/../config/environment")
require 'spec/rails'