test/helper.rb in fastly-0.96 vs test/helper.rb in fastly-0.97

- old
+ new

@@ -5,10 +5,10 @@ [:url,:port].each do |what| key = "FASTLY_TEST_BASE_#{what.to_s.upcase}" opts["base_#{what}".to_sym] = ENV[key] if ENV.has_key?(key) end - required = :full == mode ? [:user, :name, :password, :customer] : [:api_key] + required = :full == mode ? [:user, :name, :password, :customer] : [:api_key, :customer] required.each do |what| key ="FASTLY_TEST_#{what.to_s.upcase}" unless ENV.has_key?(key) warn "You haven't set the environment variable #{key}" exit(-1) \ No newline at end of file