Sha256: 387583025761381c866f9fe4a0a2e186cb7ce0bc8b09751c2039c824d7b99ccb
Contents?: true
Size: 545 Bytes
Versions: 22
Compression:
Stored size: 545 Bytes
Contents
Then /^the window should have title "([^\"]*)"$/ do |expected_title| active_shell.get_text.should == expected_title end When /^I set the treebook width to (the default|only a few pixels|the minimum width|\d+ pixels)$/ do |w| if w == "only a few pixels" width = 10 elsif w == "the minimum width" width = Redcar::ApplicationSWT::Window::MINIMUM_TREEBOOK_WIDTH elsif w == "the default" width = default_treebook_width else width = w.split(" ")[0].to_i end focussed_window.controller.send(:set_sash_widths, width) end
Version data entries
22 entries across 22 versions & 2 rubygems