1 shared :env_value do |cmd|
2 describe "ENV.#{cmd}" do
4 it "returns true if ENV has the value" do
6 ENV.send(cmd, "bar").should == true
10 it "returns false if ENV doesn't have the value" do
11 ENV.send(cmd, "this_value_should_never_exist").should == false