Sha256: 99822f13f3e9fe4b221fd45962305e42cd9dc0e8897e4667c09e3ff9985464c0

Contents?: true

Size: 406 Bytes

Versions: 2

Compression:

Stored size: 406 Bytes

Contents

Given /^I expect to create DNSimple::Record with attributes:$/ do |table|
  record = table.rows_hash
  p [record.delete("domain"), record.delete("name") || "", 
      record.delete("record_type") || "A", record.delete("content"), record]
  # DNSimple::Record.create(record.delete("domain"), record.delete("name") || "", 
  #     record.delete("record_type") || "A", record.delete("content"), record)
end


Version data entries

2 entries across 2 versions & 1 rubygems

Version Path
engineyard-dnsimple-0.1.1 features/step_definitions/dnsimple_steps.rb
engineyard-dnsimple-0.1.0 features/step_definitions/dnsimple_steps.rb