diff options
| author | Jérémy Zurcher <jeremy.zurcher@heraeus.com> | 2011-04-19 16:46:57 +0200 | 
|---|---|---|
| committer | Jérémy Zurcher <jeremy.zurcher@heraeus.com> | 2011-04-19 16:46:57 +0200 | 
| commit | 37c2ce0f79c2a797e4765251d5621d60631800cb (patch) | |
| tree | 2a96fe9f83803fff44e5e6330400583cf41e82ed /spec | |
| parent | 23ed152c8b59db2a7164c9402c3c3762f40625b9 (diff) | |
| download | ffi-efl-37c2ce0f79c2a797e4765251d5621d60631800cb.zip ffi-efl-37c2ce0f79c2a797e4765251d5621d60631800cb.tar.gz | |
update ecore and specs
Diffstat (limited to 'spec')
| -rw-r--r-- | spec/ecore_spec.rb | 28 | 
1 files changed, 14 insertions, 14 deletions
| diff --git a/spec/ecore_spec.rb b/spec/ecore_spec.rb index 96ece40..183e64c 100644 --- a/spec/ecore_spec.rb +++ b/spec/ecore_spec.rb @@ -3,26 +3,26 @@  #  require 'e17/ecore'  # -describe E17::ECORE do +describe E17::Ecore do      #      include E17      #      it "should init" do -        ECORE.init.should eql 1 -        ECORE.init.should eql 2 -        ECORE.init.should eql 3 +        Ecore.init.should eql 1 +        Ecore.init.should eql 2 +        Ecore.init.should eql 3      end      #      it "should shutdown" do -        ECORE.shutdown.should eql 2 -        ECORE.shutdown.should eql 1 -        ECORE.shutdown.should eql 0 +        Ecore.shutdown.should eql 2 +        Ecore.shutdown.should eql 1 +        Ecore.shutdown.should eql 0      end      #      it "should run a single iteration of the mainloop" do -        ECORE.init -        ECORE.main_loop_iterate -        ECORE.shutdown +        Ecore.init +        Ecore.main_loop_iterate +        Ecore.shutdown      end      #      it 'should write and read data from pipe' do @@ -32,13 +32,13 @@ describe E17::ECORE do              buffer.read_string.should eql 'hello world'              bytes.should eql 12          end -        ECORE.init -        pipe = ECORE::EcorePipe.new cb, data +        Ecore.init +        pipe = Ecore::EcorePipe.new cb, data          pipe.write("hello world").should be_true -        ECORE.main_loop_iterate +        Ecore.main_loop_iterate          pipe.read_close          pipe.write_close          pipe.del.address.should eql data.address -        ECORE.shutdown +        Ecore.shutdown      end  end | 
