Use find_for_year instead of .last
Replace count with size for AR relation
Replace count with size for AR relation
Remove assert_layout
Assert correct layout
Fix export query to work with AR relations
Add route for rae numbers
Create array of Results before sorting
Convert results to array to sort
Remove Competitions module from tests until we use module in models and controllers
Assert UrlGenerationError
Correct params in test
Add TreeExtensions#root for Events (which do not act as trees)
Compare Array, not AR Relation
Compare Array, not AR Relation
Sort arrays, not relations for test
Convert Results to array before sorting
Use custom_attributes
Use valid test data. Place must be <= 8 chars.
On second thought, use Competitions namespace for tests + 'tests ...Controller'