summaryrefslogtreecommitdiffstats
path: root/spec/eina_spec.rb
diff options
context:
space:
mode:
Diffstat (limited to 'spec/eina_spec.rb')
-rw-r--r--spec/eina_spec.rb20
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