Skip to content

Commit

Permalink
Added debugger loading to spec_helper
Browse files Browse the repository at this point in the history
  • Loading branch information
code-later committed Oct 19, 2013
1 parent 6b5b0e0 commit a5f0638
Showing 1 changed file with 6 additions and 0 deletions.
6 changes: 6 additions & 0 deletions spec/spec_helper.rb
Original file line number Diff line number Diff line change
Expand Up @@ -2,6 +2,12 @@
$LOAD_PATH.unshift(File.dirname(__FILE__))
$LOAD_PATH.unshift(File.join(File.dirname(__FILE__), '..', 'lib'))

begin
require 'debugger'
rescue LoadError
puts "Debugger is not available. Maybe you're Travis."
end

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

0 comments on commit a5f0638

Please sign in to comment.