spec/methods_spec.rb in sloe-0.5.3 vs spec/methods_spec.rb in sloe-0.5.4
- old
+ new
@@ -75,7 +75,10 @@
end
it "cli('show version', :foo => 'bar') still contains OS information" do
@dut.cli("show version", :foo => 'bar').should be_a(String)
@dut.cli("show version", :foo => 'bar').should =~ /JUNOS Base OS/
end
+ it "cli('clear interface statistics') empty reply does not cause an error" do
+ lambda { @dut.cli('clear interface statistics fxp0') }.should_not raise_error
+ end
end
end
\ No newline at end of file