forked from rspec/rspec-core
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Ported instance_exec from rspec-expecations.
instance_exec is undefined on ruby 1.8.6. Since it's used in lib/rspec/core/example_group.rb:179, we need to define it here as well, so that rspec-core can be used on ruby 1.8.6 without rspec-expectations.
- Loading branch information
1 parent
c353bad
commit bf115b7
Showing
1 changed file
with
26 additions
and
0 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters