diff options
author | Jérémy Zurcher <jeremy@asynk.ch> | 2011-04-29 14:04:47 +0200 |
---|---|---|
committer | Jérémy Zurcher <jeremy@asynk.ch> | 2011-04-29 14:07:18 +0200 |
commit | c2855a3809a9c76a94e4434efe7caecef27b8a35 (patch) | |
tree | ca19f60adb65382f587ab2bdce6575b791321196 /spec/ecore_evas_spec.rb | |
parent | 308c072a8e809b5694225cb7fc29535f62bd6d3e (diff) | |
download | ffi-efl-c2855a3809a9c76a94e4434efe7caecef27b8a35.zip ffi-efl-c2855a3809a9c76a94e4434efe7caecef27b8a35.tar.gz |
update efl/ecore* and specs
Diffstat (limited to 'spec/ecore_evas_spec.rb')
-rw-r--r-- | spec/ecore_evas_spec.rb | 24 |
1 files changed, 24 insertions, 0 deletions
diff --git a/spec/ecore_evas_spec.rb b/spec/ecore_evas_spec.rb new file mode 100644 index 0000000..c4d2275 --- /dev/null +++ b/spec/ecore_evas_spec.rb @@ -0,0 +1,24 @@ +#! /usr/bin/env ruby +# -*- coding: UTF-8 -*- +# +require 'efl/ecore_evas' +# +describe Efl::EcoreEvas do + # + before(:all) do + EcoreEvas = Efl::EcoreEvas + end + # + it "should init" do + EcoreEvas.init.should eql 1 + EcoreEvas.init.should eql 2 + EcoreEvas.init.should eql 3 + end + # + it "should shutdown" do + EcoreEvas.shutdown.should eql 2 + EcoreEvas.shutdown.should eql 1 + EcoreEvas.shutdown.should eql 0 + end + # +end |