spec/spec_helper.rb in ts-resque-delta-1.1.5 vs spec/spec_helper.rb in ts-resque-delta-1.2.0
- old
+ new
@@ -1,9 +1,13 @@
-$LOAD_PATH.unshift File.join(File.dirname(__FILE__), '..', 'lib')
-
-require 'spec'
-require 'spec/autorun'
-
require 'thinking_sphinx'
require 'thinking_sphinx/deltas/resque_delta'
require 'flying_sphinx'
require 'flying_sphinx/resque_delta'
+
+require 'mock_redis'
+require 'fakefs/spec_helpers'
+
+RSpec.configure do |c|
+ c.filter_run :focus => true
+ c.run_all_when_everything_filtered = true
+ c.treat_symbols_as_metadata_keys_with_true_values = true
+end