spec/support/koala_test.rb in koala-1.2.0beta4 vs spec/support/koala_test.rb in koala-1.2.0
- old
+ new
@@ -34,10 +34,10 @@
Faraday.default_adapter = adapter.to_sym
rescue LoadError
puts "Unable to load adapter #{adapter}, using Net::HTTP."
end
- Koala.http_service.http_options[:beta] = true if ENV["beta"]
+ Koala.http_service.http_options[:beta] = true if ENV["beta"] || ENV["BETA"]
# use a test user unless the developer wants to test against a real profile
unless token = KoalaTest.oauth_token
KoalaTest.setup_test_users
else