1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20
#! /usr/bin/env ruby # -*- coding: UTF-8 -*- # require 'efl/eina' # describe Efl::Eina do # it "should init" do Efl::Eina.init.should == 1 Efl::Eina.init.should == 2 Efl::Eina.init.should == 3 end # it "should shutdown" do Efl::Eina.shutdown.should == 2 Efl::Eina.shutdown.should == 1 Efl::Eina.shutdown.should == 0 end # end