summaryrefslogtreecommitdiff
path: root/qpid/cpp/bindings/qpid/ruby/features/step_definitions/address_steps.rb
blob: e5071ca4e63daf56450d0774b54498ffaa76887b (plain)
1
2
3
4
5
Given /^an Address with the name "([^"]*)" and subject "([^"]*)" and option "([^"]*)" set to "([^"]*)"$/ do |name, subject, key, value|
  options = Hash.new
  options["#{key}"] = "#{value}"
  @address = Qpid::Messaging::Address.new "#{name}", "#{subject}", options
end