File tree Expand file tree Collapse file tree 1 file changed +14
-14
lines changed Expand file tree Collapse file tree 1 file changed +14
-14
lines changed Original file line number Diff line number Diff line change @@ -171,6 +171,20 @@ class RoastDSLExamplesTest < FunctionalTest
171171 assert_empty lines
172172 end
173173
174+ test "ruby_cog.rb workflow runs successfully" do
175+ stdout , stderr = in_sandbox :ruby_cog do
176+ Roast ::DSL ::Workflow . from_file ( "dsl/ruby_cog.rb" , EMPTY_PARAMS )
177+ end
178+ assert_empty stderr
179+ expected_stdout = <<~EOF
180+ Roast
181+ Hello, ROAST
182+ Calling a method: 7
183+ 1 22 333 4444 55555
184+ EOF
185+ assert_equal expected_stdout , stdout
186+ end
187+
174188 test "step_communication.rb workflow runs successfully" do
175189 stdout , stderr = in_sandbox :step_communication do
176190 Roast ::DSL ::Workflow . from_file ( "dsl/step_communication.rb" , EMPTY_PARAMS )
@@ -217,20 +231,6 @@ class RoastDSLExamplesTest < FunctionalTest
217231 EOF
218232 assert_equal expected_stdout , stdout
219233 end
220-
221- test "ruby_cog.rb workflow runs successfully" do
222- stdout , stderr = in_sandbox :ruby_cog do
223- Roast ::DSL ::Workflow . from_file ( "dsl/ruby_cog.rb" , EMPTY_PARAMS )
224- end
225- assert_empty stderr
226- expected_stdout = <<~EOF
227- Roast
228- Hello, ROAST
229- Calling a method: 7
230- 1 22 333 4444 55555
231- EOF
232- assert_equal expected_stdout , stdout
233- end
234234 end
235235 end
236236end
You can’t perform that action at this time.
0 commit comments