flowerbox-delivery/features/step_definitions/given/i_have_server_with_config.rb

10 lines
212 B
Ruby
Raw Normal View History

Given /^I have a server with the configuration:$/ do |table|
options = {}
table.rows_hash.each do |key, value|
options[key.to_sym] = value
end
@server = Flowerbox::Delivery::Server.new(options)
end