Rails.root isn't always defined when you get to the top of a spec file
This commit is contained in:
parent
e1d5f86f7e
commit
2ae05f39cd
1 changed files with 1 additions and 1 deletions
|
|
@ -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
|
||||
|
|
|
|||
Loading…
Reference in a new issue