diff options
Diffstat (limited to 'spec')
-rw-r--r-- | spec/edje_spec.rb | 22 |
1 files changed, 22 insertions, 0 deletions
diff --git a/spec/edje_spec.rb b/spec/edje_spec.rb new file mode 100644 index 0000000..89fbc62 --- /dev/null +++ b/spec/edje_spec.rb @@ -0,0 +1,22 @@ +#! /usr/bin/env ruby +# -*- coding: UTF-8 -*- +# +require 'efl/edje' +# +describe EFL::EDJE do + # + include EFL + # + it "should init" do + EDJE.init.should eql 1 + EDJE.init.should eql 2 + EDJE.init.should eql 3 + end + # + it "should shutdown" do + EDJE.shutdown.should eql 2 + EDJE.shutdown.should eql 1 + EDJE.shutdown.should eql 0 + end + # +end |