dev/setup.rb in light-service-ext-0.1.1 vs dev/setup.rb in light-service-ext-0.1.2
- old
+ new
@@ -3,10 +3,12 @@
# Sets up environment for running specs and via irb e.g. `$ irb -r ./dev/setup`
require 'json'
require 'light-service'
require 'dry-validation'
+require 'rspec/core'
-Dir.glob("lib/**/*.rb").each do |f|
- require File.join(__dir__, '..', f)
-end
+require 'active_support/core_ext/array'
+require 'active_support/configurable'
+require File.expand_path("../../lib/light-service-ext", Pathname.new(__FILE__).realpath)
+require File.expand_path("../../spec/spec_helper", Pathname.new(__FILE__).realpath)