Sha256: 8e0a42d15b3e5f4f57850153af2743a7dcb45127daf48acbd2e0d739ed7be3f7

Contents?: true

Size: 903 Bytes

Versions: 25

Compression:

Stored size: 903 Bytes

Contents

When /^I run `(.*)` with a new domain$/ do |cmd|
  @domain_name = "cli-test-#{Time.now.to_i}.com"
  steps %Q(When I run `#{cmd} #{@domain_name}`)
end

When /^I run `(.*)` with a in\-addr\.arpa domain$/ do |cmd|
  @domain_name = '0.0.10.in-addr.arpa'
  steps %Q(When I run `#{cmd} #{@domain_name}`)
end

When /^I run `(.*)` with a domain I created$/ do |cmd|
  steps %Q(
    When I run `dnsimple create` with a new domain
  )
  steps %Q(
    And I run `#{cmd} #{@domain_name}`
  )
end

Then /^the output should show that the domain was created$/ do
  steps %Q(Then the output should contain "Created #{@domain_name}")
end

Then /^the output should show that the domain was deleted$/ do
  steps %Q(Then the output should contain "Deleted #{@domain_name}")
end

Then /^the output should show that the domain was registered$/ do
  steps %Q(Then the output should contain "Registered #{@domain_name}")
end


Version data entries

25 entries across 25 versions & 2 rubygems

Version Path
dnsimple-ruby-1.2.0 features/step_definitions/domain_steps.rb
dnsimple-ruby-1.1.1 features/step_definitions/domain_steps.rb
dnsimple-ruby-1.0.0 features/step_definitions/domain_steps.rb
dnsimple-ruby-0.9.9 features/step_definitions/domain_steps.rb
dnsimple-ruby-0.9.8 features/step_definitions/domain_steps.rb