Commit Graph

4 Commits

Author SHA1 Message Date
Elliot Winkler 26522c6b78 capture, silence_stream, and silence_stderr were removed in Rails 5 2017-09-17 17:01:50 -05:00
Elliot Winkler 6cc7fd8ca2 Remove warnings shown when running tests
* For some reason, ActiveRecord was printing a warning saying that
  "active_record/base" was already being loaded and there was a possible
  circular dependency. We fix this by explicitly requiring
  "active_record/base" before `$VERBOSE` is set to true.
* We were getting warnings when re-defining Kernel.capture,
  Kernel.silence_stream and Kernel.silence_stderr, so undefine them
  first.
2015-12-13 20:22:21 -07:00
Elliot Winkler c49241601f Remove warning about #capture under 4.2+ 2014-12-25 00:45:06 -05:00
Elliot Winkler bbdf8a807e Reorganize unit tests, part I
* Move spec/shoulda to spec/unit_tests/shoulda
* Move spec/support/*.rb to spec/support/unit_tests/{helpers,matchers}
* Move spec_helper.rb to unit_spec_helper.rb
2014-11-04 14:43:59 -07:00
Renamed from spec/support/capture_helpers.rb (Browse further)