We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
2 parents e8c2828 + 62ce6a1 commit 8a53f98Copy full SHA for 8a53f98
2 files changed
spec/dummy/spec
spec/rails_helper.rb
@@ -28,7 +28,7 @@
28
# Checks for pending migration and applies them before tests are run.
29
# If you are not using ActiveRecord, you can remove this line.
30
31
-Dir[Rails.root.join "spec/support/**/*.rb"].each {|f| require f}
+Dir[File.expand_path("../../spec/support/**/*.rb", __FILE__)].each {|f| require f}
32
33
RSpec.configure do |config|
34
# Remove this line if you're not using ActiveRecord or ActiveRecord fixtures
0 commit comments