Ruby on Rails | Screencasts | Download | Documentation | Weblog | Community | Source

Ticket #10278 (closed defect: fixed)

Opened 1 year ago

Last modified 1 year ago

[PATCH] assert_select_rjs should count as assertion

Reported by: tarmo Assigned to: core
Priority: normal Milestone: 2.x
Component: ActionPack Version: edge
Severity: normal Keywords: tiny
Cc:

Description

Currently assert_select_rjs does not count towards the assertion count in the test summary, for example a test with only an assert_select_rjs prints "1 tests, 0 assertions, 0 failures, 0 errors". It does count towards failures though.

My patch solves the issue in the same way that the assert_response() method does.

Attachments

make_assert_select_rjs_count.patch (0.7 kB) - added by tarmo on 11/26/07 04:21:05.

Change History

11/26/07 04:21:05 changed by tarmo

  • attachment make_assert_select_rjs_count.patch added.

11/29/07 02:49:14 changed by nzkoz

  • status changed from new to closed.
  • resolution set to fixed.

(In [8237]) Make sure assert_select_rjs gets counted, Closes #10278 [tarmo]