diff options
author | Jérémy Zurcher <jeremy@asynk.ch> | 2011-04-09 00:09:14 +0200 |
---|---|---|
committer | Jérémy Zurcher <jeremy@asynk.ch> | 2011-04-09 00:09:14 +0200 |
commit | 9d8f31e73b63776524ead9b6c6f85ee9d259bab8 (patch) | |
tree | 6af3ba77c47471bd62412a24b467d9be4e4b2b04 /spec/eina_spec.rb | |
parent | 1070788ba72c54e3a48d27339367a8e597402b3a (diff) | |
download | ffi-efl-9d8f31e73b63776524ead9b6c6f85ee9d259bab8.zip ffi-efl-9d8f31e73b63776524ead9b6c6f85ee9d259bab8.tar.gz |
add eina
Diffstat (limited to 'spec/eina_spec.rb')
-rw-r--r-- | spec/eina_spec.rb | 22 |
1 files changed, 22 insertions, 0 deletions
diff --git a/spec/eina_spec.rb b/spec/eina_spec.rb new file mode 100644 index 0000000..694e2b2 --- /dev/null +++ b/spec/eina_spec.rb @@ -0,0 +1,22 @@ +#! /usr/bin/env ruby +# -*- coding: UTF-8 -*- +# +require 'efl/eina' +# +describe EFL::EINA do + # + include EFL + # + it "should init" do + EINA.init.should eql 1 + EINA.init.should eql 2 + EINA.init.should eql 3 + end + # + it "should shutdown" do + EINA.shutdown.should eql 2 + EINA.shutdown.should eql 1 + EINA.shutdown.should eql 0 + end + # +end |