diff options
author | Jérémy Zurcher <jeremy.zurcher@heraeus.com> | 2011-04-15 10:43:36 +0200 |
---|---|---|
committer | Jérémy Zurcher <jeremy.zurcher@heraeus.com> | 2011-04-15 10:43:36 +0200 |
commit | 6bebc30cc42be2a02c7c95f8553d8be20822dcc3 (patch) | |
tree | bca922a5cb1b325ceeaf85f34ed383b0dc717e80 | |
parent | c2aab2e5bb43a3f89d1fc006c88b4dcd926574d2 (diff) | |
download | ffi-efl-6bebc30cc42be2a02c7c95f8553d8be20822dcc3.zip ffi-efl-6bebc30cc42be2a02c7c95f8553d8be20822dcc3.tar.gz |
fix evas spec
-rw-r--r-- | spec/evas_spec.rb | 4 |
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 |