Sha256: d0c264625dbe9d57af8a801f6c47b611e45f98d86eca6d1eaec54a276bb4294b

Contents?: true

Size: 301 Bytes

Versions: 13

Compression:

Stored size: 301 Bytes

Contents

require "byebug"

RSpec.configure do |config|
  config.filter_run focus: true
  config.run_all_when_everything_filtered = true
end

def silence_stream(stream)
  old_stream = stream.dup
  stream.reopen "/dev/null"
  stream.sync = true
  yield
ensure
  stream.reopen(old_stream)
  old_stream.close
end

Version data entries

13 entries across 13 versions & 1 rubygems

Version Path
active_record-json_associations-0.7.0 spec/spec_helper.rb
active_record-json_associations-0.6.11 spec/spec_helper.rb
active_record-json_associations-0.6.10 spec/spec_helper.rb
active_record-json_associations-0.6.9 spec/spec_helper.rb
active_record-json_associations-0.6.8 spec/spec_helper.rb
active_record-json_associations-0.6.7 spec/spec_helper.rb
active_record-json_associations-0.6.6 spec/spec_helper.rb
active_record-json_associations-0.6.5 spec/spec_helper.rb
active_record-json_associations-0.6.4 spec/spec_helper.rb
active_record-json_associations-0.6.3 spec/spec_helper.rb
active_record-json_associations-0.6.2 spec/spec_helper.rb
active_record-json_associations-0.6.1 spec/spec_helper.rb
active_record-json_associations-0.6.0 spec/spec_helper.rb