Sha256: 0570d62bc4cbd61d28b0727c9c2216e3cfaf493269fd0d6397fad31f1aa057db
Contents?: true
Size: 752 Bytes
Versions: 6
Compression:
Stored size: 752 Bytes
Contents
# This file was generated by the `rspec --init` command. Conventionally, all # specs live under a `spec` directory, which RSpec adds to the `$LOAD_PATH`. # Require this file using `require "spec_helper.rb"` to ensure that it is only # loaded once. # # See http://rubydoc.info/gems/rspec-core/RSpec/Core/Configuration require 'rda' require 'pry' 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 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
6 entries across 6 versions & 1 rubygems
Version | Path |
---|---|
rda-0.4.1 | spec/spec_helper.rb |
rda-0.4.0 | spec/spec_helper.rb |
rda-0.4.0.pre | spec/spec_helper.rb |
rda-0.3.3 | spec/spec_helper.rb |
rda-0.3.2 | spec/spec_helper.rb |
rda-0.3.1 | spec/spec_helper.rb |