summaryrefslogtreecommitdiffstats
path: root/spec/evas_spec.rb
diff options
context:
space:
mode:
authorJérémy Zurcher <jeremy@asynk.ch>2011-04-09 00:05:52 +0200
committerJérémy Zurcher <jeremy@asynk.ch>2011-04-09 00:05:52 +0200
commit6aa471a79c90ed74541037d337b2ed6bb201beb4 (patch)
treea99a2a2167ec004396d4dbeb066fbcf383e337e2 /spec/evas_spec.rb
parent01a38a489eb53363838474a96e60bbe437522d16 (diff)
downloadffi-efl-6aa471a79c90ed74541037d337b2ed6bb201beb4.zip
ffi-efl-6aa471a79c90ed74541037d337b2ed6bb201beb4.tar.gz
add evas
Diffstat (limited to 'spec/evas_spec.rb')
-rw-r--r--spec/evas_spec.rb22
1 files changed, 22 insertions, 0 deletions
diff --git a/spec/evas_spec.rb b/spec/evas_spec.rb
new file mode 100644
index 0000000..815c4a1
--- /dev/null
+++ b/spec/evas_spec.rb
@@ -0,0 +1,22 @@
+#! /usr/bin/env ruby
+# -*- coding: UTF-8 -*-
+#
+require 'efl/evas'
+#
+describe EFL::EVAS do
+ #
+ include EFL
+ #
+ it "should init" do
+ EVAS.init.should eql 1
+ EVAS.init.should eql 2
+ EVAS.init.should eql 3
+ end
+ #
+ it "should shutdown" do
+ EVAS.shutdown.should eql 2
+ EVAS.shutdown.should eql 1
+ EVAS.shutdown.should eql 0
+ end
+ #
+end