Sha256: ec3cae5108936b6e031df04cc19dd9dc449c7f0f05f6a969cbc51d8cbdeaee70
Contents?: true
Size: 336 Bytes
Versions: 3
Compression:
Stored size: 336 Bytes
Contents
require 'helper' describe Scales do it "tries to set the env" do Scales.env = nil ARGV = ["test"] Scales.try_to_setup_env! Scales.env.should == "test" end it "ignores env with options" do Scales.env = nil ARGV = ["-o"] Scales.try_to_setup_env! Scales.env.should == "development" end end
Version data entries
3 entries across 3 versions & 1 rubygems
Version | Path |
---|---|
scales-core-0.0.4 | spec/base_spec.rb |
scales-core-0.0.1.beta.2 | spec/base_spec.rb |
scales-core-0.0.1.beta.1 | spec/base_spec.rb |