Sha256: 7aba8ea2ba22231be78ebea523404ce19edfd83d03fc85d96cd4f7f41351bdd6
Contents?: true
Size: 577 Bytes
Versions: 6
Compression:
Stored size: 577 Bytes
Contents
require 'pione/test-helper' describe Pione::Command::PioneDiagnosisNotification do before do @cmd = Pione::Command::PioneDiagnosisNotification end it "should diagnose fine notification connection" do options = [ "--notification-target", "pnb://127.0.0.1", "--timeout", "5" ] Rootage::ScenarioTest.succeed(@cmd.new(options)) end it "should diagnose bad notification connetction" do options = [ "--notification-target", "pnb://192.0.2.1", "--timeout", "3" ] Rootage::ScenarioTest.fail(@cmd.new(options)) end end
Version data entries
6 entries across 6 versions & 1 rubygems