Skip to content

Commit bcdf329

Browse files
committed
Add a test for going to the all versions page
1 parent dcd730d commit bcdf329

File tree

1 file changed

+9
-0
lines changed

1 file changed

+9
-0
lines changed

tests/acceptance/crate-test.js

Lines changed: 9 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -21,3 +21,12 @@ test('visiting a crate page directly', function(assert) {
2121
assert.equal(document.title, 'nanomsg - Cargo: packages for Rust');
2222
});
2323
});
24+
25+
test('navigating to the all versions page', function(assert) {
26+
visit('/crates/nanomsg');
27+
click('#crate-versions span.small a');
28+
29+
andThen(function() {
30+
hasText(assert, '.info', 'All 12 versions of nanomsg since December 7, 2014');
31+
});
32+
});

0 commit comments

Comments
 (0)