test/functional/eft_27_inc.rb in ruote-2.1.4 vs test/functional/eft_27_inc.rb in ruote-2.1.5

- old
+ new

@@ -91,11 +91,11 @@ assert_trace pdef, '4' end def test_inc_array - @engine.context[:ruby_eval_allowed] = true + @engine.context['ruby_eval_allowed'] = true pdef = Ruote.process_definition do sequence do set 'v:x' => %w[ alpha bravo ] @@ -111,11 +111,11 @@ assert_trace pdef, %w[ alpha bravo charly ] end def test_inc_array_head - @engine.context[:ruby_eval_allowed] = true + @engine.context['ruby_eval_allowed'] = true pdef = Ruote.process_definition do sequence do set 'v:x' => %w[ alpha bravo ] @@ -131,11 +131,11 @@ assert_trace pdef, %w[ charly alpha bravo ] end def test_inc_array_missing - @engine.context[:ruby_eval_allowed] = true + @engine.context['ruby_eval_allowed'] = true pdef = Ruote.process_definition do sequence do inc 'v:x', :val => 'charly' @@ -172,11 +172,11 @@ assert_trace pdef, '3|3|-1' end def test_dec_array - @engine.context[:ruby_eval_allowed] = true + @engine.context['ruby_eval_allowed'] = true pdef = Ruote.process_definition do sequence do set 'v:x' => %w[ a b c ] @@ -196,11 +196,11 @@ assert_trace pdef, %w[ a.b b.c a ] end def test_dec_to - @engine.context[:ruby_eval_allowed] = true + @engine.context['ruby_eval_allowed'] = true pdef = Ruote.process_definition do sequence do set 'v:x' => %w[ a b c ] @@ -217,10 +217,10 @@ assert_trace pdef, %w[ a.b c ] end def test_dec_val - @engine.context[:ruby_eval_allowed] = true + @engine.context['ruby_eval_allowed'] = true pdef = Ruote.process_definition do sequence do set 'v:x' => %w[ a b c ]