Sha256: c17ff5eb27df777610a9a272a9ba09d9b8e93f77464d907a7c36755fb6d9b897
Contents?: true
Size: 421 Bytes
Versions: 2
Compression:
Stored size: 421 Bytes
Contents
Then(/^the switch "(.*?)" has (\d+) flow entr(?:y|ies)$/) do |switch, number| command = "trema dump_flows #{switch}" step "I successfully run `#{command}`" dump_flows = aruba.command_monitor.find(Aruba.platform.detect_ruby(command)) expect(dump_flows.output.split("\n").size).to eq(number.to_i) end Then(/^the switch "(.*?)" has no flow entry$/) do |switch| step %(the switch "#{switch}" has 0 flow entry) end
Version data entries
2 entries across 2 versions & 1 rubygems
Version | Path |
---|---|
trema-0.10.1 | features/step_definitions/dump_flows_steps.rb |
trema-0.10.0 | features/step_definitions/dump_flows_steps.rb |