Created
January 8, 2012 23:23
-
-
Save jc00ke/1580083 to your computer and use it in GitHub Desktop.
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
describe "-Xversion command line option" do | |
it "sets RUBY_VERSION to X18 when RBXOPT is set with -X19" do | |
ENV["RBXOPT"] = "-X19" | |
ruby_exe(nil, :args => %Q{-X18 -e 'puts RUBY_VERSION'}).chomp.should == "1.8.7" | |
end | |
end |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment