Skip to content

Commit

Permalink
Merge pull request #555 from DavidS/make-pry-optional
Browse files Browse the repository at this point in the history
Load pry optionally
  • Loading branch information
garethr committed Jul 18, 2016
2 parents a492f07 + 33a9837 commit ccade80
Showing 1 changed file with 5 additions and 1 deletion.
6 changes: 5 additions & 1 deletion spec/spec_helper_acceptance.rb
@@ -1,9 +1,13 @@
require 'beaker-rspec/spec_helper'
require 'beaker-rspec/helpers/serverspec'
require 'pry'
require 'beaker/puppet_install_helper'
require 'rspec/retry'

begin
require 'pry'
rescue LoadError # rubocop:disable Lint/HandleExceptions for optional loading
end

run_puppet_install_helper unless ENV['BEAKER_provision'] == 'no'

RSpec.configure do |c|
Expand Down

0 comments on commit ccade80

Please sign in to comment.