Fixing deprecation warning and the test that was still passing even if no block was passed with category method
Fixing deprecation warning and the test that was still passing even if no block was passed with category method

swiftype/meta_events,gauravtiwari/meta_events