Skip to content

Commit

Permalink
Ensure rspec core is loaded if rspec-rails is.
Browse files Browse the repository at this point in the history
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.
  • Loading branch information
xaviershay authored and Sam Phippen committed Apr 5, 2016
1 parent 3f3f50d commit 994cb7a
Showing 1 changed file with 1 addition and 0 deletions.
1 change: 1 addition & 0 deletions lib/rspec-rails.rb
Original file line number Diff line number Diff line change
@@ -1,3 +1,4 @@
require 'rspec/core'
require 'rspec/rails/feature_check'

# Namespace for all core RSpec projects.
Expand Down

0 comments on commit 994cb7a

Please sign in to comment.