summaryrefslogtreecommitdiffstats
path: root/spec/ecore_spec.rb
diff options
context:
space:
mode:
authorJérémy Zurcher <jeremy@asynk.ch>2011-04-08 17:59:24 +0200
committerJérémy Zurcher <jeremy@asynk.ch>2011-04-08 17:59:24 +0200
commitd62833580889816914eebb61ffcfcb26496ea883 (patch)
treeb638b8d17b9d204a8bbb15eb88089f0b68a29c68 /spec/ecore_spec.rb
downloadffi-efl-d62833580889816914eebb61ffcfcb26496ea883.zip
ffi-efl-d62833580889816914eebb61ffcfcb26496ea883.tar.gz
initial commit
Diffstat (limited to 'spec/ecore_spec.rb')
-rw-r--r--spec/ecore_spec.rb22
1 files changed, 22 insertions, 0 deletions
diff --git a/spec/ecore_spec.rb b/spec/ecore_spec.rb
new file mode 100644
index 0000000..a2ae2fd
--- /dev/null
+++ b/spec/ecore_spec.rb
@@ -0,0 +1,22 @@
+#! /usr/bin/env ruby
+# -*- coding: UTF-8 -*-
+#
+require 'efl/ecore'
+#
+describe EFL::ECORE do
+ #
+ include EFL
+ #
+ it "should init" do
+ ECORE.init.should eql 1
+ ECORE.init.should eql 2
+ ECORE.init.should eql 3
+ end
+ #
+ it "should shutdown" do
+ ECORE.shutdown.should eql 2
+ ECORE.shutdown.should eql 1
+ ECORE.shutdown.should eql 0
+ end
+ #
+end