spec/channel_spec.rb in zmachine-0.4.0 vs spec/channel_spec.rb in zmachine-0.4.1
- old
+ new
@@ -104,11 +104,11 @@
end
after(:each) do
@client.close
@server.close
- ZMachine.context.destroy
+ ZContext.destroy
end
let(:data) { "foo".to_java_bytes }
it 'has the correct peer information' do
@@ -155,10 +155,10 @@
end
after(:each) do
@client.close
@server.close
- ZMachine.context.destroy
+ ZContext.destroy
end
let(:data) { "foo".to_java_bytes }
it 'has no concept of a peer' do