From 6bebc30cc42be2a02c7c95f8553d8be20822dcc3 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?J=C3=A9r=C3=A9my=20Zurcher?= Date: Fri, 15 Apr 2011 10:43:36 +0200 Subject: fix evas spec --- spec/evas_spec.rb | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/spec/evas_spec.rb b/spec/evas_spec.rb index f26b29c..308e01a 100644 --- a/spec/evas_spec.rb +++ b/spec/evas_spec.rb @@ -40,13 +40,13 @@ describe E17::EVAS do it "should process async events" do cb = Proc.new do |target,type,evt| target.read_string.should eql "target" - type.should eql 0 + type.should eql :show evt.read_string.should eql "work" end EVAS.init target = FFI::MemoryPointer.from_string("target") work = FFI::MemoryPointer.from_string("work") - EVAS.async_events_put target, 0, work, cb + EVAS.async_events_put target, :show, work, cb EVAS.async_events_process.should eql 1 EVAS.async_events_process.should eql 0 EVAS.shutdown -- cgit v1.1-2-g2b99