Sha256: 4b75e4307e12053459b9a0766c36faefbbd2f6b71ddfe0d1e3fbfc2a5b274a05

Contents?: true

Size: 429 Bytes

Versions: 4

Compression:

Stored size: 429 Bytes

Contents

# coding: utf-8

require_relative 'acceptance_test'

HighLine::AcceptanceTest.check do |t|
  t.desc =
    "This step checks if coloring "       \
    "with erb templates is working ok.\n" \
    "You should see the word _grass_ "    \
    "colored in green color"

  t.action = Proc.new do
    say "The <%= color('grass', :green) %> should be green!"
  end

  t.question = "Do you see the word 'grass' on green color (y/n)? "
end

Version data entries

4 entries across 4 versions & 1 rubygems

Version Path
highline-2.0.0.pre.develop.9 test/acceptance/at_color_output_using_erb_templates.rb
highline-2.0.0.pre.develop.6 test/acceptance/at_color_output_using_erb_templates.rb
highline-2.0.0.pre.develop.4 test/acceptance/at_color_output_using_erb_templates.rb
highline-2.0.0.pre.develop.2 test/acceptance/at_color_output_using_erb_templates.rb