Sha256: 54d8a2c88cdca85c9a05d43590b46d9f951048a3eeed0fc225ad629f6a5ff3bf

Contents?: true

Size: 602 Bytes

Versions: 13

Compression:

Stored size: 602 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

Version data entries

13 entries across 13 versions & 1 rubygems

Version Path
redcar-0.6.1 plugins/runnables/features/step_definitions/runnable_steps.rb
redcar-0.6 plugins/runnables/features/step_definitions/runnable_steps.rb
redcar-0.6.1dev plugins/runnables/features/step_definitions/runnable_steps.rb
redcar-0.5.1 plugins/runnables/features/step_definitions/runnable_steps.rb
redcar-0.5 plugins/runnables/features/step_definitions/runnable_steps.rb
redcar-0.5.6dev plugins/runnables/features/step_definitions/runnable_steps.rb
redcar-0.5.5dev plugins/runnables/features/step_definitions/runnable_steps.rb
redcar-0.5.4dev plugins/runnables/features/step_definitions/runnable_steps.rb
redcar-0.5.3dev plugins/runnables/features/step_definitions/runnable_steps.rb
redcar-0.5.2dev plugins/runnables/features/step_definitions/runnable_steps.rb
redcar-0.5.1dev plugins/runnables/features/step_definitions/runnable_steps.rb
redcar-0.4.1 plugins/runnables/features/step_definitions/runnable_steps.rb
redcar-0.4 plugins/runnables/features/step_definitions/runnable_steps.rb