spec/cloud_sesame_spec.rb in CloudSesame-0.6.4 vs spec/cloud_sesame_spec.rb in CloudSesame-0.6.5
- old
+ new
@@ -108,16 +108,16 @@
# field :type, default: -> { 'Catalog::CouponSearchable' }
# end
# end
-# @tags = [1, 2]
-# n = 10_000
-# q = nil
-# result = RubyProf.profile do
-# n.times do
-# q = Product.cloudsearch.query("black jacket").sort(price: :asc).page(1).size(1000)
+# # @tags = [1, 2]
+# # n = 10_000
+# # q = nil
+# # result = RubyProf.profile do
+# # n.times do
+# q = Product.cloudsearch.query("black jacket").sort(price: :asc).page(1).size(1000)
# .price { gt 100 }
# .and {
# or! {
# tags *@tags
# tags
@@ -145,13 +145,13 @@
# created_at gte(Date.today).lt(Date.today + 3)
# }
# }
# }
-# end
-# end
-# printer = RubyProf::FlatPrinter.new(result)
-# printer.print(STDOUT, {})
+# # end
+# # end
+# # printer = RubyProf::FlatPrinter.new(result)
+# # printer.print(STDOUT, {})
# binding.pry
# end