aboutsummaryrefslogtreecommitdiffstats
path: root/spec/controllers/request_controller_spec.rb
diff options
context:
space:
mode:
authorJames McKinney <james@slashpoundbang.com>2012-04-02 18:00:22 +0100
committerJames McKinney <james@slashpoundbang.com>2012-04-02 18:00:22 +0100
commit74d74416d145a49c04f62ec9659f1a564251c1b6 (patch)
treee7d60c26852096b5edec1195ff23640b54bb7fcd /spec/controllers/request_controller_spec.rb
parent91925edb6a52b8f7e5320ed1c081aff90046dc5c (diff)
use Rails.root, not RAILS_ROOT
Diffstat (limited to 'spec/controllers/request_controller_spec.rb')
-rw-r--r--spec/controllers/request_controller_spec.rb2
1 files changed, 1 insertions, 1 deletions
diff --git a/spec/controllers/request_controller_spec.rb b/spec/controllers/request_controller_spec.rb
index f50158ff9..850ee6334 100644
--- a/spec/controllers/request_controller_spec.rb
+++ b/spec/controllers/request_controller_spec.rb
@@ -565,7 +565,7 @@ end
# XXX do this for invalid ids
# it "should render 404 file" do
-# response.should render_template("#{RAILS_ROOT}/public/404.html")
+# response.should render_template("#{Rails.root}/public/404.html")
# response.headers["Status"].should == "404 Not Found"
# end