mirror of
https://github.com/openfoodfoundation/openfoodnetwork
synced 2026-02-27 01:43:22 +00:00
Provide pry in test env when we're not building with Travis
This commit is contained in:
@@ -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'
|
||||
|
||||
Reference in New Issue
Block a user