spec/rack/env_spec.rb in rack-env-0.1.2 vs spec/rack/env_spec.rb in rack-env-0.1.3

- old
+ new

@@ -54,15 +54,20 @@ end it "should ignore empty line and commented out line" do expect{ request - }.to change{ ENV.size }.by(2) + }.to change{ ENV.size }.by(3) end it "should load environment variable" do request expect(ENV['JAPAN']).to eq "Tokyo" + end + + it "should load environment variable with '=' inside" do + request + expect(ENV['SECRET_HASH']).to eq "123$@zzz?a=/b" end end context "specified envfile" do def app