Sha256: 4469a7fcc0204606a2c190f84cf2aeae6c474810482cfc5b4a1c926561acb54d

Contents?: true

Size: 457 Bytes

Versions: 3

Compression:

Stored size: 457 Bytes

Contents

require 'rubygems'
require 'bundler'

Bundler.require :default, :development

require 'aruba/cucumber'

Before do
  @aruba_timeout_seconds = 30
  ENV['DNSIMPLE_CONFIG'] = '~/.dnsimple.test'
end

After do |scenario|
  unless ENV['NODELETE'] || scenario.source_tag_names.include?('@skip-delete')
    if @domain_name && (@domain_name =~ /^cli-/ || @domain_name =~ /in-addr\.arpa/)
      steps %Q(When I run `dnsimple delete #{@domain_name}`)
    end
  end
end

Version data entries

3 entries across 3 versions & 1 rubygems

Version Path
dnsimple-ruby-1.3.2 features/support/env.rb
dnsimple-ruby-1.3.1 features/support/env.rb
dnsimple-ruby-1.3.0 features/support/env.rb