Permalink
Browse files

Add './spec' to the $LOAD_PATH so we can `require 'spec_helper'`.

  • Loading branch information...
1 parent e1781f1 commit 0a061133c2fd3939daccf8a92e1c926869a41706 @twe4ked committed May 19, 2012
Showing with 4 additions and 3 deletions.
  1. +1 −1 spec/integration/tmpfollow_spec.rb
  2. +1 −1 spec/lib/fixnum_spec.rb
  3. +1 −1 spec/lib/unfollow_spec.rb
  4. +1 −0 spec/spec_helper.rb
@@ -1,4 +1,4 @@
-require_relative '../spec_helper'
+require 'spec_helper'
describe TmpFollow do
describe 'authenticating' do
@@ -1,4 +1,4 @@
-require_relative '../spec_helper'
+require 'spec_helper'
describe Fixnum do
describe 'ordinalize' do
@@ -1,4 +1,4 @@
-require_relative '../spec_helper'
+require 'spec_helper'
describe Unfollow do
describe 'validations' do
View
@@ -2,6 +2,7 @@
SimpleCov.start { add_filter '/spec/' }
ENV['RACK_ENV'] = 'test'
+$LOAD_PATH << './spec' # so we can `require 'spec_helper'`
require 'bundler'
Bundler.require(:test)

0 comments on commit 0a06113

Please sign in to comment.