Provide pry in test env when we're not building with Travis

This commit is contained in:
Rohan Mitchell
2013-04-05 11:28:05 +11:00
parent 11ac0a1277
commit a11f36e121

View File

@@ -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'