lib/external_services.rb in external_services-0.1.0 vs lib/external_services.rb in external_services-0.1.1
- old
+ new
@@ -4,9 +4,14 @@
require 'external_services/active_record'
require 'external_services/api'
require 'generators/install_generator'
require 'generators/service_generator'
+if defined?(::RSpec)
+ require 'rspec/configuration'
+ require 'rspec/helpers'
+end
+
Dir[File.join(File.expand_path('lib/external_services'), 'api', '*.rb')].each do |api|
require api
end
module ExternalServices