Sha256: 84e3694649595b69ec30e4402b76d448ea73703bf3294fcc6ec1a5a405b2e558

Contents?: true

Size: 233 Bytes

Versions: 78

Compression:

Stored size: 233 Bytes

Contents

# frozen_string_literal: true
def prepare_env_hash_for(cmd)
  if cmd.start_with? 'zat create'
    path = File.expand_path('../../support/webmock', __FILE__)
    { 'RUBYOPT' => "#{ENV['RUBYOPT']} -r #{path}" }
  else
    {}
  end
end

Version data entries

78 entries across 78 versions & 1 rubygems

Version Path
zendesk_apps_tools-3.9.2 features/support/helpers.rb
zendesk_apps_tools-3.9.1 features/support/helpers.rb
zendesk_apps_tools-3.9.0 features/support/helpers.rb
zendesk_apps_tools-3.8.15.beta.3 features/support/helpers.rb
zendesk_apps_tools-3.8.15.beta.2 features/support/helpers.rb
zendesk_apps_tools-3.8.14 features/support/helpers.rb
zendesk_apps_tools-3.8.13 features/support/helpers.rb
zendesk_apps_tools-3.8.11 features/support/helpers.rb
zendesk_apps_tools-3.8.10 features/support/helpers.rb
zendesk_apps_tools-3.8.9 features/support/helpers.rb
zendesk_apps_tools-3.8.8 features/support/helpers.rb
zendesk_apps_tools-3.8.7 features/support/helpers.rb
zendesk_apps_tools-3.8.6 features/support/helpers.rb
zendesk_apps_tools-3.8.5 features/support/helpers.rb
zendesk_apps_tools-3.8.4 features/support/helpers.rb
zendesk_apps_tools-3.8.3 features/support/helpers.rb
zendesk_apps_tools-3.8.2 features/support/helpers.rb
zendesk_apps_tools-3.8.1 features/support/helpers.rb
zendesk_apps_tools-3.8.0 features/support/helpers.rb
zendesk_apps_tools-3.7.1 features/support/helpers.rb