[rspec-users] rspec-rails does not have a matcher for assert_generates
deepak kannan
kannan.deepak at gmail.com
Thu Jul 26 10:07:44 UTC 2012
hi,
rails minitest has assertions for assert_generates, assert_recognizes and
assert_routing
rpsec's "routes_to" delegates to assert_recognizes
http://rubydoc.info/gems/rspec-rails/frames
But there is no mention of assert_generates
http://api.rubyonrails.org/classes/ActionDispatch/Assertions/RoutingAssertions.html#method-i-assert_generates
why does rspec-rails not have a matcher for assert_generates ?
i can of-course call 'assert_generates' from rspec
--
best,
deepak
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://rubyforge.org/pipermail/rspec-users/attachments/20120726/86d752eb/attachment.html>
More information about the rspec-users
mailing list