diff options
author | Lionel Orry <lionel.orry@gmail.com> | 2011-04-21 17:39:06 +0200 |
---|---|---|
committer | jeremyz <jeremy@asynk.ch> | 2011-04-26 08:25:52 +0200 |
commit | a04650c1d5d9faefa653bc4060974fd086985140 (patch) | |
tree | 0871d3eb07541995e6e13de443ab3d5cd3a758f5 /spec/evas_spec.rb | |
parent | 52957665ac4975bff06a82e4169e99a60524a6a4 (diff) | |
download | ffi-efl-a04650c1d5d9faefa653bc4060974fd086985140.zip ffi-efl-a04650c1d5d9faefa653bc4060974fd086985140.tar.gz |
Make specs work with ruby18.
The included Efl module in the 'describe' scope was not visible in the
tested context. Aliasing the module Efl::Xxx to Xxx seems to workaround
this.
Diffstat (limited to 'spec/evas_spec.rb')
-rw-r--r-- | spec/evas_spec.rb | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/spec/evas_spec.rb b/spec/evas_spec.rb index 78ac53a..1ec0849 100644 --- a/spec/evas_spec.rb +++ b/spec/evas_spec.rb @@ -5,7 +5,7 @@ require 'efl/evas' # describe Efl::Evas do # - include Efl + before(:all) { Evas = Efl::Evas } # it "should init" do Evas.init.should eql 1 |