summaryrefslogtreecommitdiffstats
path: root/spec/eet_spec.rb
diff options
context:
space:
mode:
authorJérémy Zurcher <jeremy@asynk.ch>2011-05-09 14:01:57 +0200
committerJérémy Zurcher <jeremy@asynk.ch>2011-05-09 14:01:57 +0200
commit601f74881e06a85e57d9799c57512f8b587b59fd (patch)
tree94176da1b12a625726f9cea4d02f8236a38c9046 /spec/eet_spec.rb
parente6f6ad8072532f879aaaffddebdbd0be4b749285 (diff)
downloadffi-efl-601f74881e06a85e57d9799c57512f8b587b59fd.zip
ffi-efl-601f74881e06a85e57d9799c57512f8b587b59fd.tar.gz
cleanup specs
Diffstat (limited to 'spec/eet_spec.rb')
-rw-r--r--spec/eet_spec.rb4
1 files changed, 2 insertions, 2 deletions
diff --git a/spec/eet_spec.rb b/spec/eet_spec.rb
index c499295..57b869a 100644
--- a/spec/eet_spec.rb
+++ b/spec/eet_spec.rb
@@ -39,8 +39,8 @@ describe Efl::Eet do
end
#
describe Efl::Eet::REetFile do
- before(:each) { Eet.init }
- after(:each) { Eet.shutdown }
+ before(:all) { Eet.init.should==1 }
+ after(:all) { Eet.shutdown.should==0 }
#
it "should open and close" do
f = REetFile.open FP, Native.enum_type(:eet_file_mode)[:eet_file_mode_write]