Sha256: 3c6756578b205fb90079946fbab5fbdff9c3b9c79c7f56330a06cd588c7719db
Contents?: true
Size: 529 Bytes
Versions: 6
Compression:
Stored size: 529 Bytes
Contents
require 'rubygems' require 'bundler/setup' require 'rspec' require 'lib/vimgolf' require 'stringio' module Kernel def capture_stdio(input = nil, &block) org_stdin, $stdin = $stdin, StringIO.new(input) if input org_stdout, $stdout = $stdout, StringIO.new yield return @out = $stdout.string ensure $stdout = org_stdout $stdin = org_stdin end alias capture_stdout capture_stdio end RSpec.configure do |config| # config.include RSpec::Helpers # config.extend RSpec::Helpers::SemanticNames end
Version data entries
6 entries across 6 versions & 1 rubygems
Version | Path |
---|---|
vimgolf-0.3.0 | spec/helper.rb |
vimgolf-0.2.0 | spec/helper.rb |
vimgolf-0.1.3 | spec/helper.rb |
vimgolf-0.1.2 | spec/helper.rb |
vimgolf-0.1.1 | spec/helper.rb |
vimgolf-0.1.0 | spec/helper.rb |