summaryrefslogtreecommitdiffstats
path: root/spec/eina_list_spec.rb
diff options
context:
space:
mode:
authorJérémy Zurcher <jeremy@asynk.ch>2011-08-18 10:22:55 +0200
committerJérémy Zurcher <jeremy@asynk.ch>2011-08-18 10:22:55 +0200
commit8e9d5ca59eaef7e977857ebe39c086c966c556dd (patch)
tree48dac00564ff18f5ac66069f3b4fc87dfb6b3a65 /spec/eina_list_spec.rb
parent8ceeda9e767e3be64bcc2b41cc89e1cee3411e82 (diff)
downloadffi-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.rb12
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