Skip to content

Commit

Permalink
Switch from ActiveSupport::Testing::Stream to SilentStream
Browse files Browse the repository at this point in the history
  • Loading branch information
pboling committed Oct 6, 2020
1 parent 01ad672 commit d0cd109
Show file tree
Hide file tree
Showing 2 changed files with 3 additions and 3 deletions.
2 changes: 1 addition & 1 deletion debug_logging.gemspec
Expand Up @@ -27,12 +27,12 @@ Automatically log selected methods and their arguments as they are called at run
spec.required_ruby_version = '>= 2.3.0' # Uses named parameters

spec.add_runtime_dependency 'colorize', '>= 0'
spec.add_development_dependency 'activesupport', '>= 5'
spec.add_development_dependency 'bundler', '>= 2'
spec.add_development_dependency 'byebug', '>= 11'
spec.add_development_dependency 'rake', '>= 13'
spec.add_development_dependency 'rspec', '>= 3'
spec.add_development_dependency 'rspec-pending_for', '>= 0'
spec.add_development_dependency 'rubocop', '>= 0'
spec.add_development_dependency 'rubocop-rspec', '>= 1'
spec.add_development_dependency 'silent_stream', '>= 1'
end
4 changes: 2 additions & 2 deletions spec/spec_helper.rb
Expand Up @@ -2,7 +2,7 @@

require 'bundler/setup'
require 'rspec/pending_for'
require 'active_support/testing/stream'
require 'silent_stream'

begin
require 'byebug' if RbConfig::CONFIG['RUBY_INSTALL_NAME'] == 'ruby'
Expand Down Expand Up @@ -30,7 +30,7 @@
# Enable flags like --only-failures and --next-failure
config.example_status_persistence_file_path = '.rspec_status'

config.include ActiveSupport::Testing::Stream
config.include SilentStream

config.expect_with :rspec do |c|
c.syntax = :expect
Expand Down

0 comments on commit d0cd109

Please sign in to comment.