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

Ticket #8153 (closed enhancement: fixed)

Opened 3 years ago

Last modified 2 years ago

[PATCH] Rename calculate by grouped association to reflect actual intent

Reported by: kamal Assigned to: core
Priority: low Milestone: 2.x
Component: ActiveRecord Version: edge
Severity: minor Keywords: tiny calculations tests
Cc: kamal.fariz@gmail.com

Description

The current test name for test_should_calculate_grouped_association_with_invalid_field does not reflect the actual intent of the test as performing a count with :group => <belongs_to_association_name> is perfectly valid. Method renamed to test_should_calculate_by_grouped_association.

Attachments

rename_calculate_by_grouped_association_test_name.patch (0.5 kB) - added by kamal on 04/23/07 09:11:54.

Change History

04/23/07 09:11:54 changed by kamal

  • attachment rename_calculate_by_grouped_association_test_name.patch added.

06/26/07 05:06:22 changed by kamal

  • keywords changed from tiny calculations to tiny calculations tests.

04/07/08 19:36:28 changed by josh

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