tests/helpers/mock_helper.rb in fog-oraclecloud-0.1.12 vs tests/helpers/mock_helper.rb in fog-oraclecloud-0.1.13
- old
+ new
@@ -1,15 +1,15 @@
-# Use so you can run in mock mode from the command line
-#
-# FOG_MOCK=true fog
-
-if ENV["FOG_MOCK"] == "true"
- Fog.mock!
-end
-
-puts "Mock: #{Fog.mock?}"
-# if in mocked mode, fill in some fake credentials for us
-if Fog.mock?
- Fog.credentials = {
- :oracle_compute_api => 'https://api.compute.us0.oraclecloud.com'
- }.merge(Fog.credentials)
+# Use so you can run in mock mode from the command line
+#
+# FOG_MOCK=true fog
+
+if ENV["FOG_MOCK"] == "true"
+ Fog.mock!
+end
+
+puts "Mock: #{Fog.mock?}"
+# if in mocked mode, fill in some fake credentials for us
+if Fog.mock?
+ Fog.credentials = {
+ :oracle_compute_api => 'https://api.compute.us0.oraclecloud.com'
+ }.merge(Fog.credentials)
end
\ No newline at end of file