spec/spec_helper.rb in boty-0.1.0 vs spec/spec_helper.rb in boty-0.1.1
- old
+ new
@@ -1,15 +1,16 @@
-$:.unshift File.expand_path("..", __FILE__)
-$:.unshift File.expand_path("../../lib", __FILE__)
+$LOAD_PATH.unshift File.expand_path("..", __FILE__)
+$LOAD_PATH.unshift File.expand_path("../../lib", __FILE__)
begin
require "byebug"
require "rubinius/debugger"
rescue LoadError
end
+
require "boty"
-Dir['./spec/support/**/*.rb'].each { |f| require f }
+Dir["./spec/support/**/*.rb"].each do |f| require f end
RSpec.configure do |config|
config.include EMSupport, em: true
config.include FayeSupport, faye: true
config.include FakeFSSupport, fakefs: true