Deprecate query_the_database #185

Closed
drapergeek opened this Issue Nov 2, 2012 · 2 comments

3 participants

@drapergeek
thoughtbot, inc. member

No description provided.

@cbandy

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) }
end
@mxie mxie closed this Mar 25, 2013
@mxie
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