Sha256: 7c52d1ca56955b7d73b4dc6fc520f720739f718249814f6f43b68ad604208729
Contents?: true
Size: 387 Bytes
Versions: 52
Compression:
Stored size: 387 Bytes
Contents
describe :env_store, :shared => true do it "sets the environment variable to the given value" do ENV.send(@method, "foo", "bar") env.key?("foo").should == true env.value?("bar").should == true ENV.delete "foo" ENV["foo"].should == nil ENV.store "foo", "bar" env.key?("foo").should == true env.value?("bar").should == true ENV.delete "foo" end end
Version data entries
52 entries across 52 versions & 1 rubygems