summaryrefslogtreecommitdiffstats
path: root/spec
diff options
context:
space:
mode:
Diffstat (limited to 'spec')
-rw-r--r--spec/edje_spec.rb14
-rw-r--r--spec/eina_spec.rb22
2 files changed, 7 insertions, 29 deletions
diff --git a/spec/edje_spec.rb b/spec/edje_spec.rb
index 79bab21..9ec6686 100644
--- a/spec/edje_spec.rb
+++ b/spec/edje_spec.rb
@@ -3,20 +3,20 @@
#
require 'e17/edje'
#
-describe E17::EDJE do
+describe E17::Edje do
#
include E17
#
it "should init" do
- EDJE.init.should eql 1
- EDJE.init.should eql 2
- EDJE.init.should eql 3
+ Edje.init.should eql 1
+ Edje.init.should eql 2
+ Edje.init.should eql 3
end
#
it "should shutdown" do
- EDJE.shutdown.should eql 2
- EDJE.shutdown.should eql 1
- EDJE.shutdown.should eql 0
+ Edje.shutdown.should eql 2
+ Edje.shutdown.should eql 1
+ Edje.shutdown.should eql 0
end
#
end
diff --git a/spec/eina_spec.rb b/spec/eina_spec.rb
deleted file mode 100644
index c110d67..0000000
--- a/spec/eina_spec.rb
+++ /dev/null
@@ -1,22 +0,0 @@
-#! /usr/bin/env ruby
-# -*- coding: UTF-8 -*-
-#
-require 'e17/eina'
-#
-describe E17::EINA do
- #
- include E17
- #
- it "should init" do
- EINA.init.should eql 1
- EINA.init.should eql 2
- EINA.init.should eql 3
- end
- #
- it "should shutdown" do
- EINA.shutdown.should eql 2
- EINA.shutdown.should eql 1
- EINA.shutdown.should eql 0
- end
- #
-end