Skip to content
This repository
Browse code

Get Spork running again

Use Rails.root.join in `spec/spec_helper.rb` to help Spork find
`helper_methods.rb` and `spec_doc.rb`.
  • Loading branch information...
commit ee6941fa18779c588e8337e4e8f15f00d13052de 1 parent 01449f7
Steven Hancock authored June 14, 2012

Showing 1 changed file with 2 additions and 2 deletions. Show diff stats Hide diff stats

  1. 4  spec/spec_helper.rb
4  spec/spec_helper.rb
@@ -17,8 +17,8 @@
17 17
 
18 18
   ENV["RAILS_ENV"] ||= 'test'
19 19
   require File.join(File.dirname(__FILE__), '..', 'config', 'environment') unless defined?(Rails)
20  
-  require 'helper_methods'
21  
-  require 'spec-doc'
  20
+  require Rails.root.join('spec', 'helper_methods')
  21
+  require Rails.root.join('spec', 'spec-doc')
22 22
   require 'rspec/rails'
23 23
   require 'webmock/rspec'
24 24
   require 'factory_girl'

0 notes on commit ee6941f

Please sign in to comment.
Something went wrong with that request. Please try again.