diff options
Diffstat (limited to 'test/acceptance/at_echo_false.rb')
-rw-r--r-- | test/acceptance/at_echo_false.rb | 7 |
1 files changed, 4 insertions, 3 deletions
diff --git a/test/acceptance/at_echo_false.rb b/test/acceptance/at_echo_false.rb index 2466b8d..282ec16 100644 --- a/test/acceptance/at_echo_false.rb +++ b/test/acceptance/at_echo_false.rb @@ -1,6 +1,6 @@ # coding: utf-8 -require_relative 'acceptance_test' +require_relative "acceptance_test" HighLine::AcceptanceTest.check do |t| t.desc = @@ -12,12 +12,13 @@ HighLine::AcceptanceTest.check do |t| "When typing the characters you should not " \ "see any of them on the screen." - t.action = Proc.new do + t.action = proc do answer = ask "Enter some characters and press <enter>: " do |q| q.echo = false end puts "You've entered -> #{answer} <-" end - t.question = "Were the characters adequately hidden when you typed them (y/n)? " + t.question = "Were the characters adequately hidden " \ + "when you typed them (y/n)? " end |