Skip to content
Browse files

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...
1 parent 01449f7 commit ee6941fa18779c588e8337e4e8f15f00d13052de @stevenh512 stevenh512 committed
Showing with 2 additions and 2 deletions.
  1. +2 −2 spec/spec_helper.rb
4 spec/spec_helper.rb
@@ -17,8 +17,8 @@
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'

0 comments on commit ee6941f

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