sob-has_force 1.0.1 → 1.0.2
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- 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
|