spec/spec_helper.rb in eucalyptus-0.3.3 vs spec/spec_helper.rb in eucalyptus-1.0.0
- old
+ new
@@ -20,7 +20,12 @@
# Requires supporting files with custom matchers and macros, etc,
# in ./support/ and its subdirectories.
Dir["#{File.dirname(__FILE__)}/support/**/*.rb"].each {|f| require f}
RSpec.configure do |config|
-
+ config.before do
+ Eucalyptus.configure do |config|
+ config.access_token = ENV["ACCESS_TOKEN"]
+ config.default_account_id = ENV["DEFAULT_ACCOUNT_ID"]
+ end
+ end
end