Skip to content

Commit 994cb7a

Browse files
xaviershaySam Phippen
authored andcommitted
Ensure rspec core is loaded if rspec-rails is.
I don't think loading rspec/rails here is necessarily right, since Rails might not be required yet and I don't think we should be the ones to force that. Could be wrong here, but only loading rspec is more conservative so choosing that for now. Loading rspec seems important though, so that various version checks work correctly. See tpope/fivemat#29 for motivation.
1 parent 3f3f50d commit 994cb7a

File tree

1 file changed

+1
-0
lines changed

1 file changed

+1
-0
lines changed

lib/rspec-rails.rb

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1,3 +1,4 @@
1+
require 'rspec/core'
12
require 'rspec/rails/feature_check'
23

34
# Namespace for all core RSpec projects.

0 commit comments

Comments
 (0)