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