Sha256: 7f35916108e8cf455fdaa7266ed65cf5f3dedd5566d22e457f32cc32d171da32
Contents?: true
Size: 690 Bytes
Versions: 2
Compression:
Stored size: 690 Bytes
Contents
require 'aruba/cucumber' require 'filewatcher' require 'git' # Load configuratiohn config = YAML::load(File.open('config.yaml')) # Cucumber / aruba configuration parameters Before do @aruba_timeout_seconds = 300 end # Set environment variables Before do config[:environment_variables].keys.each do |key| ENV[key.to_s.upcase] = config[:environment_variables][key] end end # Remove current configurations only once Before '@config' do FileUtils.rm_rf File.join(File.expand_path('~/'),'.sf') end # Before push and pull clone the repository Before '@push,@pull' do uri = ENV['SFDT_GIT_REPO'] name = File.join 'tmp', 'aruba', ENV['SFDT_GIT_DIR'] Git.clone(uri, name) end
Version data entries
2 entries across 2 versions & 1 rubygems
Version | Path |
---|---|
salesforce-deploy-tool-1.3.0 | features/support/env.rb |
salesforce-deploy-tool-1.2.0 | features/support/env.rb |