Sha256: 0f455e9ee08211f992d65c90fc4c1df91642abd3e2695d13871d2d70b488d4bb

Contents?: true

Size: 409 Bytes

Versions: 17

Compression:

Stored size: 409 Bytes

Contents

# rubocop:disable LineLength

Then(/^the switch "(.*?)" has (\d+) flow entr(?:y|ies)$/) do |switch, num_entries|
  command = "trema dump_flows #{switch} -S."
  step "I run `#{command}`"
  expect(output_from(command).split("\n").size - 1).to eq(num_entries.to_i)
end

Then(/^the switch "(.*?)" has no flow entry$/) do |switch|
  step %(the switch "#{switch}" has 0 flow entry)
end

# rubocop:enable LineLength

Version data entries

17 entries across 17 versions & 2 rubygems

Version Path
pio-0.30.1 features/step_definitions/dump_flows_steps.rb
trema-0.8.4 features/step_definitions/dump_flows_steps.rb
trema-0.8.3 features/step_definitions/dump_flows_steps.rb
pio-0.30.0 features/step_definitions/dump_flows_steps.rb
trema-0.8.2 features/step_definitions/dump_flows_steps.rb
pio-0.29.0 features/step_definitions/dump_flows_steps.rb
trema-0.8.1 features/step_definitions/dump_flows_steps.rb
pio-0.28.1 features/step_definitions/dump_flows_steps.rb
pio-0.28.0 features/step_definitions/dump_flows_steps.rb
trema-0.8.0 features/step_definitions/dump_flows_steps.rb
pio-0.27.2 features/step_definitions/dump_flows_steps.rb
trema-0.7.1 features/step_definitions/dump_flows_steps.rb
pio-0.27.1 features/step_definitions/dump_flows_steps.rb
trema-0.7.0 features/step_definitions/dump_flows_steps.rb
pio-0.27.0 features/step_definitions/dump_flows_steps.rb
trema-0.6.0 features/step_definitions/dump_flows_steps.rb
pio-0.26.0 features/step_definitions/dump_flows_steps.rb