Sha256: fa3cc1d4ab7e72c678a1a3baaf4a6db3f12b997f83a53dd18fa27bafe0ab1015
Contents?: true
Size: 475 Bytes
Versions: 4
Compression:
Stored size: 475 Bytes
Contents
require 'rspec' require 'calabash-cucumber/utils/logging' include Calabash::Cucumber::Logging # spec_helper.rb RSpec.configure do |config| config.expect_with :rspec do |c| c.syntax = :expect end end module Kernel def capture_stdout out = StringIO.new $stdout = out yield return out ensure $stdout = STDOUT end def capture_stderr out = StringIO.new $stderr = out yield return out ensure $stderr = STDERR end end
Version data entries
4 entries across 4 versions & 1 rubygems