spec/trema/echo-request_spec.rb in trema-0.3.3 vs spec/trema/echo-request_spec.rb in trema-0.3.4
- old
+ new
@@ -27,10 +27,10 @@
network {
vswitch( "echo" ) { datapath_id 0xabc }
}.run( EchoReplyController ) {
controller( "EchoReplyController" ).send_message( 0xabc, subject )
sleep 2 # FIXME: wait to send_message
- IO.read( File.join( Trema.log, "openflowd.echo.log" ) ).should include( "OFPT_ECHO_REPLY" )
+ expect( IO.read( File.join( Trema.log, "openflowd.echo.log" ) ) ).to include( "OFPT_ECHO_REPLY" )
}
end
end