lib/test_ids.rb in test_ids-0.7.0 vs lib/test_ids.rb in test_ids-0.7.1
- old
+ new
@@ -27,10 +27,12 @@
# Use the same arguments as you would normally pass to flow.test, the numbers
# returned will be the same as would be injected into flow.test.
def allocate(instance, options = {})
opts = options.dup
current_configuration.allocator.allocate(instance, opts)
- { bin: opts[:bin], softbin: opts[:softbin], number: opts[:number] }
+ { bin: opts[:bin], bin_size: opts[:bin_size], softbin: opts[:softbin], softbin_size: opts[:softbin_size],
+ number: opts[:number], number_size: opts[:number_size]
+ }
end
def current_configuration
configuration(@configuration_id)
end