spec/spec_helper.rb in selenium-rc-2.2.4 vs spec/spec_helper.rb in selenium-rc-2.3.0
- old
+ new
@@ -1,16 +1,6 @@
-require "rubygems"
-require "spec"
-require "spec/autorun"
-require "fileutils"
-require "timeout"
-require "tcp_socket_extension"
-require "rr"
-require "lsof"
+require 'bundler'
+Bundler.require(:default, :development, :test)
-dir = File.dirname(__FILE__)
-$:.unshift(File.expand_path("#{dir}/../lib"))
-require "selenium_rc"
-
-Spec::Runner.configure do |config|
+RSpec.configure do |config|
config.mock_with :rr
end