spec/integration/spec_helper.rb in microstatic-0.3.0 vs spec/integration/spec_helper.rb in microstatic-0.4.0
- old
+ new
@@ -1,3 +1,10 @@
require_relative '../../lib/microstatic'
+# require_relative '../../lib/microstatic/uses_fog'
+if ENV['FOG_MOCK']
+ Fog.mock!
+ include Microstatic::UsesFog
+ check_and_store_aws_creds(Microstatic.aws_creds_from_env)
+ connection.directories.create(:key => 'microstatic-test-bucket')
+end
require 'pry'