sob-has_force 1.0.1 → 1.0.2
Sign up to get free protection for your applications and to get access to all the features.
- data/CHANGELOG.rdoc +3 -0
- data/lib/force/has_force.rb +1 -1
- metadata +1 -1
data/CHANGELOG.rdoc
CHANGED
data/lib/force/has_force.rb
CHANGED
@@ -65,7 +65,7 @@ module Force
|
|
65
65
|
|
66
66
|
# always return true in the test environment
|
67
67
|
# prevents massive spam from SalesForce during tests
|
68
|
-
return true if RAILS_ENV == 'test'
|
68
|
+
return true if (ENV['RAILS_ENV'] == 'test')
|
69
69
|
begin
|
70
70
|
response = http.request(request)
|
71
71
|
case response
|