Sha256: 3f895c659618c69e1efe1552fd5ded44f0c0d346819baed78c38679a55cd03b7
Contents?: true
Size: 357 Bytes
Versions: 7
Compression:
Stored size: 357 Bytes
Contents
require 'spec_helper' describe Heirloom do it "should return ENV value if passed the name" do set_env_var("HOME", "~") env = Heirloom::Env.new expect(env.load 'HOME').to eq '~' end it "should return nil if the ENV name does not exist" do env = Heirloom::Env.new expect(env.load 'SOME_RANDOM_MISSING_VALUE').to eq nil end end
Version data entries
7 entries across 7 versions & 1 rubygems