summaryrefslogtreecommitdiffstats
path: root/spec/evas_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/evas_spec.rb
parent34385f0e58d923c49da1951899cefa7649c42d14 (diff)
downloadffi-efl-8425b72b78b08573ed8341d958e17a47c4f8f415.zip
ffi-efl-8425b72b78b08573ed8341d958e17a47c4f8f415.tar.gz
prevent Native constant redefinition
Diffstat (limited to 'spec/evas_spec.rb')
-rw-r--r--spec/evas_spec.rb2
1 files changed, 1 insertions, 1 deletions
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