summaryrefslogtreecommitdiffstats
path: root/spec/eet_spec.rb
diff options
context:
space:
mode:
authorJérémy Zurcher <jeremy@asynk.ch>2011-05-05 23:02:00 +0200
committerJérémy Zurcher <jeremy@asynk.ch>2011-05-05 23:02:00 +0200
commit8425b72b78b08573ed8341d958e17a47c4f8f415 (patch)
tree2139709630695fcb0576989cfee90e8378254b3e /spec/eet_spec.rb
parent34385f0e58d923c49da1951899cefa7649c42d14 (diff)
downloadffi-efl-8425b72b78b08573ed8341d958e17a47c4f8f415.zip
ffi-efl-8425b72b78b08573ed8341d958e17a47c4f8f415.tar.gz
prevent Native constant redefinition
Diffstat (limited to 'spec/eet_spec.rb')
-rw-r--r--spec/eet_spec.rb2
1 files changed, 1 insertions, 1 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
}
#