File tree Expand file tree Collapse file tree 2 files changed +3
-3
lines changed Expand file tree Collapse file tree 2 files changed +3
-3
lines changed Original file line number Diff line number Diff line change 38
38
<div id =' home-crates' class =' crate-lists' >
39
39
<section id =' new-crates' data-test-new-crates aria-busy =" {{ dataTask.isRunning }} " >
40
40
<h2 >New Crates</h2 >
41
- {{ crate-list-max crates =model.new_crates }}
41
+ {{ crate-list-name-only crates =model.new_crates }}
42
42
</section >
43
43
<section id =' most-downloaded' data-test-most-downloaded aria-busy =" {{ dataTask.isRunning }} " >
44
44
<h2 >Most Downloaded</h2 >
50
50
</section >
51
51
<section id =' most-recently-downloaded' data-test-most-recently-downloaded aria-busy =" {{ dataTask.isRunning }} " >
52
52
<h2 >Most Recent Downloads</h2 >
53
- {{ crate-list-max crates =model.most_recently_downloaded }}
53
+ {{ crate-list-name-only crates =model.most_recently_downloaded }}
54
54
</section >
55
55
<section id =' keywords' data-test-keywords aria-busy =" {{ dataTask.isRunning }} " >
56
56
<h2 >Popular Keywords {{ #link-to ' keywords' }} (see all){{ /link-to }} </h2 >
Original file line number Diff line number Diff line change @@ -35,7 +35,7 @@ module('Acceptance | front page', function(hooks) {
35
35
assert . dom ( '[data-test-total-downloads]' ) . hasText ( '122,669' ) ;
36
36
assert . dom ( '[data-test-total-crates]' ) . hasText ( '19' ) ;
37
37
38
- assert . dom ( '[data-test-new-crates] [data-test-crate-link="0"]' ) . hasText ( 'Inflector (0.1.6) ' ) ;
38
+ assert . dom ( '[data-test-new-crates] [data-test-crate-link="0"]' ) . hasText ( 'Inflector' ) ;
39
39
assert . dom ( '[data-test-new-crates] [data-test-crate-link="0"]' ) . hasAttribute ( 'href' , '/crates/Inflector' ) ;
40
40
41
41
assert . dom ( '[data-test-most-downloaded] [data-test-crate-link="0"]' ) . hasText ( 'serde' ) ;
You can’t perform that action at this time.
0 commit comments