summaryrefslogtreecommitdiffstats
path: root/spec/helper.rb
diff options
context:
space:
mode:
authorJérémy Zurcher <jeremy@asynk.ch>2011-05-08 15:54:57 +0200
committerJérémy Zurcher <jeremy@asynk.ch>2011-05-08 15:54:57 +0200
commite6f6ad8072532f879aaaffddebdbd0be4b749285 (patch)
tree0dadba527d0b3107b43d8c49f71c637419431247 /spec/helper.rb
parente4de8f2786d07723519dadcf7ba09da6e96895c6 (diff)
downloadffi-efl-e6f6ad8072532f879aaaffddebdbd0be4b749285.zip
ffi-efl-e6f6ad8072532f879aaaffddebdbd0be4b749285.tar.gz
spec cleanup
Diffstat (limited to 'spec/helper.rb')
-rw-r--r--spec/helper.rb4
1 files changed, 4 insertions, 0 deletions
diff --git a/spec/helper.rb b/spec/helper.rb
index 3c94fff..6b9c849 100644
--- a/spec/helper.rb
+++ b/spec/helper.rb
@@ -34,10 +34,14 @@ end
def bool_check t, fct, delay=nil
t.send fct+'_set', true
ecore_loop delay if delay
+ t.send(fct).should be_true
+ t.send(fct+'?').should be_true
t.send(fct+'_get').should be_true
t.send fct+'=', false
ecore_loop delay if delay
t.send(fct).should be_false
+ t.send(fct+'?').should be_false
+ t.send(fct+'_get').should be_false
end
#
def realize_win