summaryrefslogtreecommitdiffstats
path: root/spec
diff options
context:
space:
mode:
Diffstat (limited to 'spec')
-rw-r--r--spec/ecore_spec.rb5
1 files changed, 5 insertions, 0 deletions
diff --git a/spec/ecore_spec.rb b/spec/ecore_spec.rb
index a2ae2fd..e1260fc 100644
--- a/spec/ecore_spec.rb
+++ b/spec/ecore_spec.rb
@@ -19,4 +19,9 @@ describe EFL::ECORE do
ECORE.shutdown.should eql 0
end
#
+ it "should run a single iteration of the mainloop" do
+ ECORE.init.should eql 1
+ ECORE.main_loop_iterate
+ ECORE.shutdown.should eql 0
+ end
end