Skip to content

Commit

Permalink
Allow pry to be activated in rspec if in the local gemfile.
Browse files Browse the repository at this point in the history
  • Loading branch information
dvandersluis committed Jan 10, 2021
1 parent 41242be commit f801209
Showing 1 changed file with 6 additions and 0 deletions.
6 changes: 6 additions & 0 deletions spec/spec_helper.rb
Expand Up @@ -11,6 +11,12 @@

require_relative 'core_ext/string'

begin
require 'pry'
rescue LoadError
# Pry is not activated.
end

# Require supporting files exposed for testing.
require 'rubocop/rspec/support'

Expand Down

0 comments on commit f801209

Please sign in to comment.