Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
test/insulation.rb: updated for Ruby 1.9
* classes and constants defined in an insulated test are not accessible outside the test (due to change in operation of instance_eval in 1.9). * tests run differently in 1.8 and 1.9 and give appropriate messages for each * methods in this class: D18 and D19 for version-sensitive test descriptions; hopefully migrate this functionality to core attest soon.
- Loading branch information
Showing
1 changed file
with
49 additions
and
9 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