diff options
author | Jérémy Zurcher <jeremy@asynk.ch> | 2011-04-27 16:02:06 +0200 |
---|---|---|
committer | Jérémy Zurcher <jeremy@asynk.ch> | 2011-04-27 16:02:06 +0200 |
commit | 2806b37dc8f9721ac5e84755654b6b6d4ebad5a9 (patch) | |
tree | 1cb852f1df396cd13a52af43113ff1809fedf96f /spec/eina_spec.rb | |
parent | 1b74b7c89c394b4c6d6c73e3ccf9e75cac5d4fcb (diff) | |
download | ffi-efl-2806b37dc8f9721ac5e84755654b6b6d4ebad5a9.zip ffi-efl-2806b37dc8f9721ac5e84755654b6b6d4ebad5a9.tar.gz |
add eina_main and specs
Diffstat (limited to 'spec/eina_spec.rb')
-rw-r--r-- | spec/eina_spec.rb | 20 |
1 files changed, 20 insertions, 0 deletions
diff --git a/spec/eina_spec.rb b/spec/eina_spec.rb new file mode 100644 index 0000000..e76129a --- /dev/null +++ b/spec/eina_spec.rb @@ -0,0 +1,20 @@ +#! /usr/bin/env ruby +# -*- coding: UTF-8 -*- +# +require 'efl/eina' +# +describe Efl::Eina do + # + it "should init" do + Efl::Eina.init.should eql 1 + Efl::Eina.init.should eql 2 + Efl::Eina.init.should eql 3 + end + # + it "should shutdown" do + Efl::Eina.shutdown.should eql 2 + Efl::Eina.shutdown.should eql 1 + Efl::Eina.shutdown.should eql 0 + end + # +end |