diff --git a/tests/acceptance/characteristics-test.js b/tests/acceptance/characteristics-test.js index f53da89..ad62807 100644 --- a/tests/acceptance/characteristics-test.js +++ b/tests/acceptance/characteristics-test.js @@ -66,6 +66,7 @@ test('creating /characteristics/new', function(assert) { andThen(function() { assert.equal(find(".flakes-information-box > legend").text().trim(), 'New Characteristic Name'); + assert.equal(server.db.characteristics.length, 1); }); }); }); diff --git a/tests/acceptance/species-test.js b/tests/acceptance/species-test.js index 656acd5..1b4fe85 100644 --- a/tests/acceptance/species-test.js +++ b/tests/acceptance/species-test.js @@ -65,6 +65,7 @@ test('creating /species/new', function(assert) { andThen(function() { assert.equal(find(".flakes-information-box > legend > em").text().trim(), 'New Species Name'); + assert.equal(server.db.species.length, 1); }); }); });