Get Spork running again
Use Rails.root.join in `spec/spec_helper.rb` to help Spork find `helper_methods.rb` and `spec_doc.rb`.
This commit is contained in:
parent
01449f765e
commit
ee6941fa18
1 changed files with 2 additions and 2 deletions
|
|
@ -17,8 +17,8 @@ Spork.prefork do
|
|||
|
||||
ENV["RAILS_ENV"] ||= 'test'
|
||||
require File.join(File.dirname(__FILE__), '..', 'config', 'environment') unless defined?(Rails)
|
||||
require 'helper_methods'
|
||||
require 'spec-doc'
|
||||
require Rails.root.join('spec', 'helper_methods')
|
||||
require Rails.root.join('spec', 'spec-doc')
|
||||
require 'rspec/rails'
|
||||
require 'webmock/rspec'
|
||||
require 'factory_girl'
|
||||
|
|
|
|||
Loading…
Reference in a new issue