spec/spec_helper.rb in uploadcare-rails-1.0.4 vs spec/spec_helper.rb in uploadcare-rails-1.0.5
- old
+ new
@@ -1,6 +1,10 @@
# This file is copied to spec/ when you run 'rails generate rspec:install'
ENV["RAILS_ENV"] ||= 'test'
+
+$LOAD_PATH << File.join(File.dirname(__FILE__), '..', 'lib')
+$LOAD_PATH << File.join(File.dirname(__FILE__))
+
require 'pry'
require File.expand_path("../dummy/config/environment", __FILE__)
require 'rspec/rails'
require 'rspec/autorun'