test/helper.rb in qs-0.0.1 vs test/helper.rb in qs-0.1.0
- old
+ new
@@ -2,6 +2,13 @@
# put any test helpers here
# add the root dir to the load path
$LOAD_PATH.unshift(File.expand_path("../..", __FILE__))
-# TODO: put test helpers here...
+require 'pry' # require pry for debugging (`binding.pry`)
+
+require 'pathname'
+ROOT_PATH = Pathname.new(File.expand_path('../..', __FILE__))
+
+require 'test/support/factory'
+
+require 'json' # so the default serializer/deserializer procs will work