On Thu, Jul 26, 2012 at 6:07 AM, deepak kannan <kannan.dee...@gmail.com> wrote: > 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 never found assert_generates useful for the way I approach testing. If you give me an example of how/when you'd use it I can try to explain. > i can of-course call 'assert_generates' from rspec > > -- > best, > deepak > > _______________________________________________ > rspec-users mailing list > rspec-users@rubyforge.org > http://rubyforge.org/mailman/listinfo/rspec-users _______________________________________________ rspec-users mailing list rspec-users@rubyforge.org http://rubyforge.org/mailman/listinfo/rspec-users