flowerbox-delivery/features/step_definitions/given/i_have_server_with_config.rb
2012-01-19 15:59:05 -05:00

10 lines
212 B
Ruby

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