Sha256: 416664d3392aacd3d838a2bfbb483b76f47bcc99d6b71a3233915653088af8e7

Contents?: true

Size: 463 Bytes

Versions: 1

Compression:

Stored size: 463 Bytes

Contents

require 'hemlock/csv_to_flashcards'
require 'hemlock/turn'
require 'thor'
require 'stringio'

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'
end

def capture_stdout &block
  old_stdout = $stdout
  fake_stdout = StringIO.new
  $stdout = fake_stdout
  block.call
  fake_stdout.string
ensure
  $stdout = old_stdout
end

Version data entries

1 entries across 1 versions & 1 rubygems

Version Path
hemlock-0.0.9 spec/spec_helper.rb