Skip to content
Snippets Groups Projects
Commit 2ae05f39 authored by Sarah Mei's avatar Sarah Mei
Browse files

Rails.root isn't always defined when you get to the top of a spec file

parent e1d5f86f
No related branches found
No related tags found
No related merge requests found
......@@ -2,7 +2,7 @@
# licensed under the Affero General Public License version 3 or later. See
# the COPYRIGHT file.
require File.join(Rails.root, "spec", "spec_helper")
require File.join(File.dirname(__FILE__), "..", "spec_helper")
describe DevUtilitiesController do
render_views
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment