Dicatate the correct spec support directory on the spec helper [ci skip]

This commit is contained in:
Ben Atkins 2014-07-14 18:14:23 -04:00
parent 6c7efd0ac5
commit d7cfc17fdb
1 changed files with 1 additions and 1 deletions

View File

@ -13,7 +13,7 @@ require 'ffaker'
# Requires supporting ruby files with custom matchers and macros, etc,
# in spec/support/ and its subdirectories.
Dir[Rails.root.join('spec/support/**/*.rb')].each { |f| require f }
Dir[File.join(File.dirname(__FILE__), 'support', '**', '*.rb')].each { |f| require f }
# See http://rubydoc.info/gems/rspec-core/RSpec/Core/Configuration
RSpec.configure do |config|