summaryrefslogtreecommitdiffstats
path: root/spec
diff options
context:
space:
mode:
Diffstat (limited to 'spec')
-rw-r--r--spec/ecore/ecore_evas_spec.rb24
1 files changed, 24 insertions, 0 deletions
diff --git a/spec/ecore/ecore_evas_spec.rb b/spec/ecore/ecore_evas_spec.rb
new file mode 100644
index 0000000..c380613
--- /dev/null
+++ b/spec/ecore/ecore_evas_spec.rb
@@ -0,0 +1,24 @@
+#! /usr/bin/env ruby
+# -*- coding: UTF-8 -*-
+#
+require 'efl/ecore/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