Skip to content

Commit 073cfd8

Browse files
committed
Add extra URL tests to badges
1 parent 29a1dcd commit 073cfd8

File tree

1 file changed

+2
-0
lines changed

1 file changed

+2
-0
lines changed

tests/acceptance/search-test.js

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -24,7 +24,9 @@ test('searching for "rust"', function(assert) {
2424
hasText(assert, '#crates .row:first .desc .info', 'rust_mixin');
2525
findWithAssert('#crates .row:first .desc .info .vers img[alt="0.0.1"]');
2626

27+
findWithAssert('#crates .row:first .desc .info .badge:first a[href="https://ci.appveyor.com/project/huonw/external_mixin"]');
2728
findWithAssert('#crates .row:first .desc .info .badge:first a img[src="https://ci.appveyor.com/api/projects/status/github/huonw/external_mixin?svg=true&branch=master"]');
29+
findWithAssert('#crates .row:first .desc .info .badge:eq(1) a[href="https://travis-ci.org/huonw/external_mixin"]');
2830
findWithAssert('#crates .row:first .desc .info .badge:eq(1) a img[src="https://travis-ci.org/huonw/external_mixin.svg?branch=master"]');
2931

3032
hasText(assert, '#crates .row:first .desc .summary', 'Yo dawg, use Rust to generate Rust, right in your Rust. (See `external_mixin` to use scripting languages.)');

0 commit comments

Comments
 (0)