spec/spec_helper.rb in search_flip-2.3.2 vs spec/spec_helper.rb in search_flip-3.0.0.beta
- old
+ new
@@ -1,6 +1,5 @@
-
require "search_flip"
require "webmock/rspec"
require "active_record"
require "factory_bot"
require "timecop"
@@ -128,11 +127,11 @@
fielddata: true
}
}
}
else
- { }
+ {}
end
end
def self.type_name
"products"
@@ -187,6 +186,5 @@
{ id: object.id }
end
end
TestIndex.delete_index if TestIndex.index_exists?
-