Deprecate query_the_database #185

drapergeek opened this Issue Nov 2, 2012 · 2 comments

3 participants

thoughtbot, inc. member

No description provided.


I like query_the_database for the same reason as the OP in #69. I think it should be improved however, to work with RSpec's expect.

Something like

describe 'any process' do
  specify { expect{ some code }.to query_the_database(2.times) }
@mxie mxie closed this Mar 25, 2013
thoughtbot, inc. member

Closing this because we have included this matcher to be deprecated via #253.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment