Sha256: 29d67dfcfb153dc86f1b18fff1f307fd1cecd8360bbb1b06bdd73712a0c01b7e
Contents?: true
Size: 235 Bytes
Versions: 5
Compression:
Stored size: 235 Bytes
Contents
describe Econfig::ENV do let(:backend) { Econfig::ENV.new } describe "#get" do it "fetches option from environment variables" do ENV["FOO_BAR"] = "monkey" backend.get("foo_bar").should == "monkey" end end end
Version data entries
5 entries across 5 versions & 1 rubygems
Version | Path |
---|---|
econfig-1.0.2 | spec/env_spec.rb |
econfig-1.0.1 | spec/env_spec.rb |
econfig-1.0.0 | spec/env_spec.rb |
econfig-0.1.1 | spec/env_spec.rb |
econfig-0.1.0 | spec/env_spec.rb |