Sha256: 9404f5ab7e2f527a9134668fc05f8424b957dea24e31f79c8ac494ffe04bd220

Contents?: true

Size: 246 Bytes

Versions: 8

Compression:

Stored size: 246 Bytes

Contents

module RSpec
  module Helpers
    def fake_stdin(strings)
      InputFaker.with_fake_input(strings) { yield }
    end

    def green(string)
      "\e[32m#{string}\e[0m"
    end

    def red(string)
      "\e[31m#{string}\e[0m"
    end
  end
end

Version data entries

8 entries across 8 versions & 1 rubygems

Version Path
shelly-0.0.37 spec/helpers.rb
shelly-0.0.36 spec/helpers.rb
shelly-0.0.34 spec/helpers.rb
shelly-0.0.33 spec/helpers.rb
shelly-0.0.32 spec/helpers.rb
shelly-0.0.31 spec/helpers.rb
shelly-0.0.30 spec/helpers.rb
shelly-0.0.29 spec/helpers.rb