Skip to content

Commit

Permalink
Merge pull request #9360 from dvandersluis/allow-pry
Browse files Browse the repository at this point in the history
Allow `pry` to be activated in rspec if in the local gemfile.
  • Loading branch information
koic committed Jan 10, 2021
2 parents 94ced7b + f801209 commit cbe439b
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 cbe439b

Please sign in to comment.