spec/trema/stats-reply_spec.rb in trema-0.4.5 vs spec/trema/stats-reply_spec.rb in trema-0.4.6

- old
+ new

@@ -140,11 +140,11 @@ its( :port_no ) { should == 1 } its( :rx_packets ) { should == 7 } its( :tx_packets ) { should == 10 } its( :rx_bytes ) { should == 1454 } its( :tx_bytes ) { should == 2314 } - its ( :rx_dropped ) { should == 1 } + its( :rx_dropped ) { should == 1 } its( :tx_dropped ) { should == 1 } its( :rx_errors ) { should == 1 } its( :tx_errors ) { should == 1 } its( :rx_frame_err ) { should == 1 } its( :rx_over_err ) { should == 1 } @@ -176,9 +176,10 @@ context "when vendor-stats-reply is created" do subject { VendorStatsReply.new( :vendor_id => 123 ) } it { should respond_to( :to_s ) } its( :vendor_id ) { should == 123 } + its( :data ) { should be_nil } end context "when #stats_request(desc-stats) is sent" do it "should #stats_reply(desc-stats)" do