Commit a3f460e3 authored by Tails developers's avatar Tails developers
Browse files

Revert "Use meta-OOP tricks to avoid having to special-case each key."

This reverts commit a492cbdf.

Actually, it doesn't work: Sikuli::Key has no method_defined? method. I suspect
that the crazy rjb stuff we're doing doesn't produce modules (classes) that
inherit from the Module module.
parent e6b9d71d
......@@ -809,8 +809,9 @@ end
When /^I press the "([^"]+)" key$/ do |key|
next if @skip_steps_while_restoring_background
if Sikuli::Key.method_defined?(key)
case key
when "ENTER"
raise "unsupported key #{key}"
Markdown is supported
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment