spec/trema/host_spec.rb in trema-0.3.3 vs spec/trema/host_spec.rb in trema-0.3.4

- old
+ new

@@ -164,21 +164,21 @@ context "when #tx_stats" do describe :cli do it "should get tx stats" do @cli.should_receive( :tx_stats ).and_return( @stats ) - @host.tx_stats.should == @stats + expect( @host.tx_stats ).to eq( @stats ) end end end context "when #rx_stats" do describe :cli do it "should get rx stats" do @cli.should_receive( :rx_stats ).and_return( @stats ) - @host.rx_stats.should == @stats + expect( @host.rx_stats ).to eq( @stats ) end end end end end