summaryrefslogtreecommitdiff
path: root/test/acceptance/at_color_output_using_erb_templates.rb
diff options
context:
space:
mode:
Diffstat (limited to 'test/acceptance/at_color_output_using_erb_templates.rb')
-rw-r--r--test/acceptance/at_color_output_using_erb_templates.rb4
1 files changed, 2 insertions, 2 deletions
diff --git a/test/acceptance/at_color_output_using_erb_templates.rb b/test/acceptance/at_color_output_using_erb_templates.rb
index c45f264..e17df87 100644
--- a/test/acceptance/at_color_output_using_erb_templates.rb
+++ b/test/acceptance/at_color_output_using_erb_templates.rb
@@ -1,6 +1,6 @@
# coding: utf-8
-require_relative 'acceptance_test'
+require_relative "acceptance_test"
HighLine::AcceptanceTest.check do |t|
t.desc =
@@ -9,7 +9,7 @@ HighLine::AcceptanceTest.check do |t|
"You should see the word _grass_ " \
"colored in green color"
- t.action = Proc.new do
+ t.action = proc do
say "The <%= color('grass', :green) %> should be green!"
end