Sha256: 2778a7c8557b9f340ce9cb73d6ca47d85ecbeba10f359d5c7cdabfcf24323257
Contents?: true
Size: 554 Bytes
Versions: 1
Compression:
Stored size: 554 Bytes
Contents
require "bundler" Bundler.setup require "bickle" RSpec.configure do |config| config.treat_symbols_as_metadata_keys_with_true_values = true config.run_all_when_everything_filtered = true config.filter_run :focus config.order = "random" # https://github.com/wycats/thor/blob/master/spec/spec_helper.rb#L41 def capture(stream) begin stream = stream.to_s eval "$#{stream} = StringIO.new" yield result = eval("$#{stream}").string ensure eval("$#{stream} = #{stream.upcase}") end result end end
Version data entries
1 entries across 1 versions & 1 rubygems
Version | Path |
---|---|
bickle-0.0.1 | spec/spec_helper.rb |