Skip to content

Commit 66e2dc1

Browse files
committed
tests/reverse-dependencies: Fix duplicated test name
1 parent 1876d7a commit 66e2dc1

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

tests/acceptance/reverse-dependencies-test.js

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -64,7 +64,7 @@ module('Acceptance | /crates/:crate_id/reverse_dependencies', function (hooks) {
6464
assert.dom('[data-test-total-rows]').hasText('22');
6565
});
6666

67-
test('shows an error if the server is broken', async function (assert) {
67+
test('shows a generic error if the server is broken', async function (assert) {
6868
let { foo } = prepare(this);
6969

7070
this.server.get('/api/v1/crates/:crate_id/reverse_dependencies', {}, 500);
@@ -76,7 +76,7 @@ module('Acceptance | /crates/:crate_id/reverse_dependencies', function (hooks) {
7676
.hasText('Could not load reverse dependencies for the "foo" crate');
7777
});
7878

79-
test('shows an error if the server is broken', async function (assert) {
79+
test('shows a detailed error if available', async function (assert) {
8080
let { foo } = prepare(this);
8181

8282
let payload = { errors: [{ detail: 'cannot request more than 100 items' }] };

0 commit comments

Comments
 (0)