summaryrefslogtreecommitdiffstats
path: root/spec/helper.rb
diff options
context:
space:
mode:
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