Sha256: 44086fcddc3d7aaee2e1f00b8a96c87ab28916a50d977d894474a939af909e0e
Contents?: true
Size: 237 Bytes
Versions: 52
Compression:
Stored size: 237 Bytes
Contents
require File.expand_path('../../../spec_helper', __FILE__) describe "ENV.delete" do it "removes the variable and return its value" do ENV["foo"] = "bar" ENV.delete("foo").should == "bar" ENV["foo"].should == nil end end
Version data entries
52 entries across 52 versions & 2 rubygems