spec/cloud_sesame_spec.rb in CloudSesame-0.4.3 vs spec/cloud_sesame_spec.rb in CloudSesame-0.4.4

- old
+ new

@@ -60,14 +60,14 @@ # end # end -# n = 10_000 -# q = nil -# result = RubyProf.profile do -# n.times do +# # 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).and { # or! { # tags "1", "2" # and! { # tags.not "3", "4" @@ -91,15 +91,15 @@ # created_at gte(Date.today) # created_at gte(Date.today).lt(Date.today + 3) # } # } # } -# q.applied_filters +# # q.applied_filters -# end -# end -# printer = RubyProf::FlatPrinter.new(result) -# printer.print(STDOUT, {}) +# # end +# # end +# # printer = RubyProf::FlatPrinter.new(result) +# # printer.print(STDOUT, {}) # binding.pry # # class TestClass # # def initialize