spec/spec_helper.rb in riddle-1.3.3 vs spec/spec_helper.rb in riddle-1.4.0
- old
+ new
@@ -21,9 +21,13 @@
end
config.after :all do
sphinx.stop
end
+
+ # enable filtering for examples
+ config.filter_run :wip => true
+ config.run_all_when_everything_filtered = true
end
def query_contents(key)
contents = open("spec/fixtures/data/#{key.to_s}.bin") { |f| f.read }
contents.respond_to?(:encoding) ?