]> git.openstreetmap.org Git - rails.git/commit
Refactor changeset index testing to assert against objects, not db queries
authorAndy Allan <git@gravitystorm.co.uk>
Wed, 22 Jul 2020 15:25:10 +0000 (17:25 +0200)
committerAndy Allan <git@gravitystorm.co.uk>
Wed, 22 Jul 2020 15:39:48 +0000 (17:39 +0200)
commite7dc2f2e554043b6feed226c577cf135728b74b9
treebd308ea683da71db20a259c42b775946c87242b5
parentb23d6a54453ef6693b9c7f567316a339e89e8dad
Refactor changeset index testing to assert against objects, not db queries

This avoids the situation where tests pass despite an empty db.

Refs #2614
test/controllers/changesets_controller_test.rb