spec/spec_helper.rb in ufo-1.0.1 vs spec/spec_helper.rb in ufo-1.1.0
- old
+ new
@@ -1,10 +1,13 @@
ENV['TEST'] = '1'
require "codeclimate-test-reporter"
CodeClimate::TestReporter.start
+# Ensures aws api never called. Fixture home folder does not contain ~/.aws/credentails
+ENV['HOME'] = "spec/fixtures/home"
+
require "pp"
require "byebug"
root = File.expand_path('../../', __FILE__)
require "#{root}/lib/ufo"
@@ -25,9 +28,7 @@
RSpec.configure do |c|
c.include Helpers
c.before(:each) do
- # ensures we never called real aws api since the fixture home folder does not have ~/.aws/credentails setup
- ENV['HOME'] = "spec/fixtures/home"
end
end