spec/lib/query/indexes_spec.rb in picky-3.0.1 vs spec/lib/query/indexes_spec.rb in picky-3.1.0
- old
+ new
@@ -1,8 +1,12 @@
require 'spec_helper'
describe Picky::Query::Indexes do
-
+
+ before(:each) do
+ Picky::Query::IndexesCheck.stub! :check_backend_types
+ end
+
3.times do |i|
n = i + 1
name = :"index#{n}"
indexed = :"indexed#{n}"
let(name) { stub name, :internal_indexed => stub(indexed) }
\ No newline at end of file