Skip to content

Commit 8f3b707

Browse files
myronmarstonJonRowe
authored andcommitted
Revert "Ensure rspec core is loaded if rspec-rails is." (#1678)
This reverts commit 994cb7a. The original fix was never shown to have fixed anything, and looks to have triggered #1645 and rspec/rspec-core#2301. Fixes #1645.
1 parent eabc538 commit 8f3b707

File tree

2 files changed

+9
-3
lines changed

2 files changed

+9
-3
lines changed

Changelog.md

Lines changed: 9 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,7 +1,15 @@
1+
### Development
2+
[Full Changelog](http://github.com/rspec/rspec-rails/compare/v3.5.1...master)
3+
4+
Bug Fixes:
5+
6+
* Stop unnecessarily loading `rspec/core` from `rspec/rails` to avoid
7+
IRB context warning. (Myron Marston, #1678)
8+
19
### 3.5.1 / 2016-07-08
210
[Full Changelog](http://github.com/rspec/rspec-rails/compare/v3.5.0...v3.5.1)
311

4-
Bugfixes:
12+
Bug Fixes:
513

614
* Only attempt to load `ActionDispatch::IntegrationTest::Behavior` on Rails 5,
715
and above; Prevents possible `TypeError` when an existing `Behaviour` class

lib/rspec-rails.rb

Lines changed: 0 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,3 @@
1-
# Explicitly require rspec-core for weird spring issue, see #1558
2-
require 'rspec/core'
31
require 'rspec/rails/feature_check'
42

53
# Namespace for all core RSpec projects.

0 commit comments

Comments
 (0)