From a11f36e121a56a44bfc61f862addb4fe90cd3e01 Mon Sep 17 00:00:00 2001 From: Rohan Mitchell Date: Fri, 5 Apr 2013 11:28:05 +1100 Subject: [PATCH] Provide pry in test env when we're not building with Travis --- spec/spec_helper.rb | 2 ++ 1 file changed, 2 insertions(+) diff --git a/spec/spec_helper.rb b/spec/spec_helper.rb index ac124b8da9..dee4f07dc2 100644 --- a/spec/spec_helper.rb +++ b/spec/spec_helper.rb @@ -3,6 +3,8 @@ require 'spork' #uncomment the following line to use spork with the debugger #require 'spork/ext/ruby-debug' +# Require pry when we're not inside Travis-CI +require 'pry' unless ENV['HAS_JOSH_K_SEAL_OF_APPROVAL'] Spork.prefork do ENV["RAILS_ENV"] ||= 'test'