Dicatate the correct spec support directory on the spec helper [ci skip]
This commit is contained in:
parent
6c7efd0ac5
commit
d7cfc17fdb
|
@ -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|
|
||||
|
|
Loading…
Reference in New Issue