Sha256: 1491340c81db4cc8120e7a31595b670523800681e2a7d56ab518596b8aca7479
Contents?: true
Size: 589 Bytes
Versions: 83
Compression:
Stored size: 589 Bytes
Contents
# XXX Crashes #require File.dirname(File.join(__rhoGetCurrentDir(), __FILE__)) + '/../../spec_helper' # #describe "ENV.shift" do # # it "returns a pair and deletes it" do # ENV.empty?.should == false # orig = ENV.to_hash # begin # pair = ENV.shift # ENV.has_key?(pair.first).should == false # ensure # ENV.replace orig # end # ENV.has_key?(pair.first).should == true # end # # it "returns nil if ENV.empty?" do # orig = ENV.to_hash # begin # ENV.clear # ENV.shift.should == nil # ensure # ENV.replace orig # end # end # #end
Version data entries
83 entries across 83 versions & 1 rubygems