spec/trema/echo-request_spec.rb in trema-0.1.3.2 vs spec/trema/echo-request_spec.rb in trema-0.2.0

- old
+ new

@@ -57,10 +57,10 @@ network { vswitch( "echo_request" ) { datapath_id 0xabc } }.run( EchoRequestController ) { echo_request = EchoRequest.new( :transaction_id => 1234, :user_data => 'this is a test' ) controller( "EchoRequestController" ).send_message( 0xabc, echo_request ) - log_file = Trema.log_directory + "/openflowd.echo_request.log" + log_file = Trema.log + "/openflowd.echo_request.log" IO.read( log_file ).should include( "OFPT_ECHO_REPLY" ) sleep 1 } end end