summaryrefslogtreecommitdiffstats
path: root/spec
diff options
context:
space:
mode:
Diffstat (limited to 'spec')
-rw-r--r--spec/evas_spec.rb4
1 files 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