Sha256: 1a5c2799b832e35efa0cf7d97dbb2448fe60e97c8b94e117c5630162297b6c02

Contents?: true

Size: 881 Bytes

Versions: 25

Compression:

Stored size: 881 Bytes

Contents

When /^I open the runnables tree$/ do
  Redcar::Runnables::ShowRunnables.new.run
end

When /^I change the command to "([^"]*)"$/ do |name|
  current = File.read(runnable_config)
  File.open(runnable_config, 'w') do |f|
    f.print current.gsub("An app", name)
  end
end

When /^I go back to the "([^"]*)" window$/ do |title|
  Redcar.app.windows.detect { |w| w.title == title }.focus
end

When /^I note the number of windows$/ do
  @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

Version data entries

25 entries across 25 versions & 2 rubygems

Version Path
redcar-dev-0.12.17dev plugins/runnables/features/step_definitions/runnable_steps.rb
redcar-dev-0.12.16dev-java plugins/runnables/features/step_definitions/runnable_steps.rb
redcar-dev-0.12.15dev-java plugins/runnables/features/step_definitions/runnable_steps.rb
redcar-dev-0.12.14dev-java plugins/runnables/features/step_definitions/runnable_steps.rb
redcar-dev-0.12.13dev-java plugins/runnables/features/step_definitions/runnable_steps.rb
redcar-dev-0.12.12dev-java plugins/runnables/features/step_definitions/runnable_steps.rb
redcar-dev-0.12.11dev-java plugins/runnables/features/step_definitions/runnable_steps.rb
redcar-dev-0.12.10dev-java plugins/runnables/features/step_definitions/runnable_steps.rb
redcar-dev-0.12.9dev-java plugins/runnables/features/step_definitions/runnable_steps.rb
redcar-dev-0.12.8dev-java plugins/runnables/features/step_definitions/runnable_steps.rb
redcar-dev-0.12.7dev-java plugins/runnables/features/step_definitions/runnable_steps.rb
redcar-dev-0.12.6dev-java plugins/runnables/features/step_definitions/runnable_steps.rb
redcar-dev-0.12.4dev-java plugins/runnables/features/step_definitions/runnable_steps.rb
redcar-dev-0.12.3dev-java plugins/runnables/features/step_definitions/runnable_steps.rb
redcar-dev-0.12.1dev-java plugins/runnables/features/step_definitions/runnable_steps.rb
redcar-dev-0.12.0dev-java plugins/runnables/features/step_definitions/runnable_steps.rb
redcar-0.11 plugins/runnables/features/step_definitions/runnable_steps.rb
redcar-0.11.0dev plugins/runnables/features/step_definitions/runnable_steps.rb
redcar-0.10 plugins/runnables/features/step_definitions/runnable_steps.rb
redcar-0.9.2 plugins/runnables/features/step_definitions/runnable_steps.rb