Skip to content
This repository was archived by the owner on Nov 30, 2024. It is now read-only.

Use our optimized require over a bare require. #2082

Merged
merged 1 commit into from
Oct 8, 2015
Merged
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
2 changes: 1 addition & 1 deletion lib/rspec/core/memoized_helpers.rb
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
require 'rspec/support/reentrant_mutex'
RSpec::Support.require_rspec_support 'reentrant_mutex'
Copy link
Member

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Ah that's how it's happening, it's probably using the require_relative in the optimised one and that counts as a different require to the bare one.

Copy link
Member Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Yep!


module RSpec
module Core
Expand Down