plugins/runnables/features/step_definitions/runnable_steps.rb in redcar-0.6.1 vs plugins/runnables/features/step_definitions/runnable_steps.rb in redcar-0.7

- old
+ new

@@ -17,6 +17,12 @@ @windows = Redcar.app.windows.size end Then /^I should see (\d+) more windows?$/ do |window_count| Redcar.app.windows.size.should == (@windows + window_count.to_i) +end + +When /^I append parameters to the "([^"]*)" node in the tree$/ do |node_text| + mirror = Redcar.app.focussed_window.treebook.focussed_tree.tree_mirror + node = find_node_with_text(mirror.top, node_text) + Redcar::Runnables::AppendParamsAndRunCommand.new(node).run end \ No newline at end of file