spec/spec_helper.rb in peddler-0.2.4 vs spec/spec_helper.rb in peddler-0.3.0
- old
+ new
@@ -1,3 +1,7 @@
-$: << File.join(File.dirname(__FILE__), '/../lib')
-require 'spec'
-require 'peddler'
\ No newline at end of file
+require "rubygems"
+require "bundler/setup"
+require "rspec"
+
+require File.expand_path("../../lib/peddler", __FILE__)
+
+Dir["#{File.dirname(__FILE__)}/support/**/*.rb"].each { |f| require f }