diff options
author | Jérémy Zurcher <jeremy@asynk.ch> | 2011-08-18 10:22:55 +0200 |
---|---|---|
committer | Jérémy Zurcher <jeremy@asynk.ch> | 2011-08-18 10:22:55 +0200 |
commit | 8e9d5ca59eaef7e977857ebe39c086c966c556dd (patch) | |
tree | 48dac00564ff18f5ac66069f3b4fc87dfb6b3a65 /spec/eina_list_spec.rb | |
parent | 8ceeda9e767e3be64bcc2b41cc89e1cee3411e82 (diff) | |
download | ffi-efl-8e9d5ca59eaef7e977857ebe39c086c966c556dd.zip ffi-efl-8e9d5ca59eaef7e977857ebe39c086c966c556dd.tar.gz |
cleanup init/shutdown specs
Diffstat (limited to 'spec/eina_list_spec.rb')
-rw-r--r-- | spec/eina_list_spec.rb | 12 |
1 files changed, 6 insertions, 6 deletions
diff --git a/spec/eina_list_spec.rb b/spec/eina_list_spec.rb index 230e9bb..0d486b4 100644 --- a/spec/eina_list_spec.rb +++ b/spec/eina_list_spec.rb @@ -6,13 +6,13 @@ require 'efl/eina_list' # describe Efl::EinaList do # - before(:all) { + before(:all) do REinaList = Efl::EinaList::REinaList - Efl::Eina.init.should == 1 - } - after(:all) { - Efl::Eina.shutdown.should == 0 - } + Efl::Eina.init + end + after(:all) do + Efl::Eina.shutdown + end # it "should append prepend and fetch" do l = REinaList.new |