summaryrefslogtreecommitdiffstats
path: root/spec
diff options
context:
space:
mode:
authorJérémy Zurcher <jeremy@asynk.ch>2011-10-21 14:45:22 +0200
committerJérémy Zurcher <jeremy@asynk.ch>2011-10-21 14:45:22 +0200
commitc0801dc60f8a998395a6300ca8a7cad5cf438bfa (patch)
tree4ea5c6a8bfd7c6fd3140a72575a03b3955d64be7 /spec
parent1fdfd0dbf44195afcac78c752ca7918e4708b392 (diff)
downloadffi-efl-c0801dc60f8a998395a6300ca8a7cad5cf438bfa.zip
ffi-efl-c0801dc60f8a998395a6300ca8a7cad5cf438bfa.tar.gz
use strings instead of module within specs
Diffstat (limited to 'spec')
-rw-r--r--spec/ecore_evas_spec.rb2
-rw-r--r--spec/ecore_getopt_spec.rb2
-rw-r--r--spec/ecore_input_spec.rb2
-rw-r--r--spec/ecore_spec.rb2
-rw-r--r--spec/edje_spec.rb2
-rw-r--r--spec/eet_spec.rb4
-rw-r--r--spec/eina_hash_spec.rb2
-rw-r--r--spec/eina_list_spec.rb2
-rw-r--r--spec/eina_log_spec.rb2
-rw-r--r--spec/elm_spec.rb12
-rw-r--r--spec/evas_spec.rb12
11 files changed, 22 insertions, 22 deletions
diff --git a/spec/ecore_evas_spec.rb b/spec/ecore_evas_spec.rb
index 281b357..7ded12e 100644
--- a/spec/ecore_evas_spec.rb
+++ b/spec/ecore_evas_spec.rb
@@ -5,7 +5,7 @@ require 'efl/eina_list'
require 'efl/ecore_evas'
require './spec/helper'
#
-describe Efl::EcoreEvas do
+describe 'Efl::EcoreEvas' do
#
before(:all) do
EcoreEvas = Efl::EcoreEvas
diff --git a/spec/ecore_getopt_spec.rb b/spec/ecore_getopt_spec.rb
index 8c2a565..22ce360 100644
--- a/spec/ecore_getopt_spec.rb
+++ b/spec/ecore_getopt_spec.rb
@@ -7,7 +7,7 @@ require 'efl/eina_list'
require 'efl/eina_rectangle'
require 'efl/ecore_getopt'
#
-describe Efl::EcoreGetopt do
+describe 'Efl::EcoreGetopt' do
#
after(:all) do
Efl::Ecore.shutdown
diff --git a/spec/ecore_input_spec.rb b/spec/ecore_input_spec.rb
index 29698e9..c3c2448 100644
--- a/spec/ecore_input_spec.rb
+++ b/spec/ecore_input_spec.rb
@@ -3,7 +3,7 @@
#
require 'efl/ecore_input'
#
-describe Efl::EcoreInput do
+describe 'Efl::EcoreInput' do
#
before(:all) do
EcoreInput = Efl::EcoreInput
diff --git a/spec/ecore_spec.rb b/spec/ecore_spec.rb
index 86475ae..9d8010a 100644
--- a/spec/ecore_spec.rb
+++ b/spec/ecore_spec.rb
@@ -130,7 +130,7 @@ describe "Efl::Ecore #{Efl::Ecore.version.full}" do
e2.free
end
#
- describe Efl::Ecore::REcorePipe do
+ describe 'Efl::Ecore::REcorePipe' do
#
it 'should write and read data from pipe' do
data = FFI::MemoryPointer.from_string("none")
diff --git a/spec/edje_spec.rb b/spec/edje_spec.rb
index aa6a6d3..896c6bc 100644
--- a/spec/edje_spec.rb
+++ b/spec/edje_spec.rb
@@ -94,7 +94,7 @@ describe "Efl::Edje #{Efl::Edje.version.full}" do
# TODO edje_color_class*
# TODO edje_text_class*
#
- describe Efl::Edje::REdje do
+ describe 'Efl::Edje::REdje' do
before(:all) do
Efl::Evas.init
realize_evas
diff --git a/spec/eet_spec.rb b/spec/eet_spec.rb
index c12cbb9..9fbba1c 100644
--- a/spec/eet_spec.rb
+++ b/spec/eet_spec.rb
@@ -42,7 +42,7 @@ describe "Efl::Eet #{Efl::Eet.version.full}" do
Native.enum_type(:eet_file_mode)[:eet_file_mode_read_write].should == 2
end
#
- describe Efl::Eet::REetFile do
+ describe 'Efl::Eet::REetFile' do
#
it "should open and close" do
f = REetFile.open FP, Native.enum_type(:eet_file_mode)[:eet_file_mode_write]
@@ -83,7 +83,7 @@ describe "Efl::Eet #{Efl::Eet.version.full}" do
f = REetFile.open FP, :eet_file_mode_read_write
f.write 'configg', 'test key'
f.read('configg').should == 'test key'
-# f.close #leave it to FFI::AutoPointer
+ f.close
end
#
it "should write in block" do
diff --git a/spec/eina_hash_spec.rb b/spec/eina_hash_spec.rb
index d9c6ce0..736dae9 100644
--- a/spec/eina_hash_spec.rb
+++ b/spec/eina_hash_spec.rb
@@ -4,7 +4,7 @@
require 'efl'
require 'efl/eina_hash'
#
-describe Efl::EinaHash do
+describe 'Efl::EinaHash' do
#
before(:all) do
REinaHash = Efl::EinaHash::REinaHash
diff --git a/spec/eina_list_spec.rb b/spec/eina_list_spec.rb
index 0d486b4..50db525 100644
--- a/spec/eina_list_spec.rb
+++ b/spec/eina_list_spec.rb
@@ -4,7 +4,7 @@
require 'efl/eina'
require 'efl/eina_list'
#
-describe Efl::EinaList do
+describe 'Efl::EinaList' do
#
before(:all) do
REinaList = Efl::EinaList::REinaList
diff --git a/spec/eina_log_spec.rb b/spec/eina_log_spec.rb
index aea4ed4..62d54a1 100644
--- a/spec/eina_log_spec.rb
+++ b/spec/eina_log_spec.rb
@@ -5,7 +5,7 @@ require 'efl/eina'
require 'efl/eina_log'
require './spec/helper'
#
-describe Efl::EinaLog do
+describe 'Efl::EinaLog' do
before(:all) do
Efl::Eina.init
EinaLog = Efl::EinaLog
diff --git a/spec/elm_spec.rb b/spec/elm_spec.rb
index 2745d20..0ea75c8 100644
--- a/spec/elm_spec.rb
+++ b/spec/elm_spec.rb
@@ -25,7 +25,7 @@ describe "Efl::Elm #{Efl::Elm.version.full}" do
Elm.shutdown.should == @init
end
#
- describe Efl::Elm::ElmWin do
+ describe 'Efl::Elm::ElmWin' do
before(:each) {
realize_win
}
@@ -179,7 +179,7 @@ describe "Efl::Elm #{Efl::Elm.version.full}" do
# TODO EAPI void elm_win_illume_command_send(Evas_Object *obj, Elm_Illume_Command command, void *params);;
# TODO EAPI Ecore_X_Window elm_win_xwindow_get(const Evas_Object *obj);
#
- describe Efl::Elm::ElmInWin do
+ describe 'Efl::Elm::ElmInWin' do
it "activate, content set/get/unset" do
@iwin = @win.inwin_add
o1 = @win.evas.object_rectangle_add
@@ -200,7 +200,7 @@ describe "Efl::Elm #{Efl::Elm.version.full}" do
end
end
#
- describe Efl::Elm::ElmBg do
+ describe 'Efl::Elm::ElmBg' do
before(:all) {
realize_win
}
@@ -242,7 +242,7 @@ describe "Efl::Elm #{Efl::Elm.version.full}" do
end
end
#
- describe Efl::Elm::ElmLabel do
+ describe 'Efl::Elm::ElmLabel' do
#
before(:all) {
realize_win
@@ -292,7 +292,7 @@ describe "Efl::Elm #{Efl::Elm.version.full}" do
end
end
#
- describe Efl::Elm::ElmPager do
+ describe 'Efl::Elm::ElmPager' do
#
before(:all) {
realize_win
@@ -323,7 +323,7 @@ describe "Efl::Elm #{Efl::Elm.version.full}" do
end
end
#
- describe Efl::Elm::ElmPanel do
+ describe 'Efl::Elm::ElmPanel' do
#
before(:all) {
realize_win
diff --git a/spec/evas_spec.rb b/spec/evas_spec.rb
index ac59294..f00a6ef 100644
--- a/spec/evas_spec.rb
+++ b/spec/evas_spec.rb
@@ -58,7 +58,7 @@ describe "Efl::Evas #{Efl::Evas.version.full}" do
Evas.async_events_process.should == 0
end
#
- describe Efl::Evas::REvas do
+ describe 'Efl::Evas::REvas' do
before(:all) do
realize_evas
end
@@ -294,7 +294,7 @@ describe "Efl::Evas #{Efl::Evas.version.full}" do
# TODO evas_objects_at_xy_get, evas_objects_in_rectangle_get, evas_object_bottom_get, evas_object_top_get
end
#
- describe Efl::Evas::REvasObject do
+ describe 'Efl::Evas::REvasObject' do
#
before(:all) do
realize_evas
@@ -556,7 +556,7 @@ describe "Efl::Evas #{Efl::Evas.version.full}" do
#
end
#
- describe Efl::Evas::REvasLine do
+ describe 'Efl::Evas::REvasLine' do
#
before(:all) do
realize_evas
@@ -572,7 +572,7 @@ describe "Efl::Evas #{Efl::Evas.version.full}" do
end
end
#
- describe Efl::Evas::REvasPolygon do
+ describe 'Efl::Evas::REvasPolygon' do
#
before(:all) do
realize_evas
@@ -594,7 +594,7 @@ describe "Efl::Evas #{Efl::Evas.version.full}" do
end
end
#
- describe Efl::Evas::REvasText do
+ describe 'Efl::Evas::REvasText' do
#
before(:all) do
realize_evas
@@ -702,7 +702,7 @@ describe "Efl::Evas #{Efl::Evas.version.full}" do
#
end
#
- describe Efl::Evas::REvasBox do
+ describe 'Efl::Evas::REvasBox' do
#
before(:all) do
realize_evas