summaryrefslogtreecommitdiffstats
path: root/spec/eet_spec.rb
diff options
context:
space:
mode:
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]