summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
-rw-r--r--spec/eet_spec.rb2
-rw-r--r--spec/evas_spec.rb2
2 files changed, 2 insertions, 2 deletions
diff --git a/spec/eet_spec.rb b/spec/eet_spec.rb
index 82c2dbf..c499295 100644
--- a/spec/eet_spec.rb
+++ b/spec/eet_spec.rb
@@ -7,7 +7,7 @@ describe Efl::Eet do
#
before(:all) {
Eet = Efl::Eet
- Native = Efl::Native
+ Native = Efl::Native unless Kernel.const_defined? 'Native'
REetFile = Efl::Eet::REetFile
}
#
diff --git a/spec/evas_spec.rb b/spec/evas_spec.rb
index 55af12b..ac41b5a 100644
--- a/spec/evas_spec.rb
+++ b/spec/evas_spec.rb
@@ -26,7 +26,7 @@ describe Efl::Evas do
#
before(:all) {
Evas = Efl::Evas
- Native = Efl::Native
+ Native = Efl::Native unless Kernel.const_defined? 'Native'
}
#
it "should init" do