From 1a9f6a903c1d721b41fcd5d46787037dee0f9659 Mon Sep 17 00:00:00 2001 From: "Carol (Nichols || Goulding)" Date: Sat, 3 Dec 2016 13:17:55 -0500 Subject: [PATCH 1/2] Fix the frontend search test looking for the version I broke this in #481 :( --- tests/acceptance/search-test.js | 6 ++++-- 1 file changed, 4 insertions(+), 2 deletions(-) diff --git a/tests/acceptance/search-test.js b/tests/acceptance/search-test.js index 0ca10d13a9c..082b4279194 100644 --- a/tests/acceptance/search-test.js +++ b/tests/acceptance/search-test.js @@ -21,7 +21,8 @@ test('searching for "rust"', function(assert) { hasText(assert, '#crates-heading', 'Search Results for \'rust\''); hasText(assert, '#results', 'Displaying 1-10 of 18 total results Sort by Relevance Relevance Downloads'); - hasText(assert, '#crates .row:first .desc .info', 'rust_mixin 0.0.1'); + hasText(assert, '#crates .row:first .desc .info', 'rust_mixin'); + findWithAssert('#crates .row:first .desc .info .vers img[alt="0.0.1"]'); 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.)'); hasText(assert, '#crates .row:first .downloads', '477'); }); @@ -37,6 +38,7 @@ test('searching for "rust"', function(assert) { hasText(assert, '#crates-heading', 'Search Results for \'rust\''); hasText(assert, '#results', 'Displaying 11-18 of 18 total results Sort by Relevance Relevance Downloads'); - hasText(assert, '#crates .row:first .desc .info', 'rusted_cypher 0.7.1'); + hasText(assert, '#crates .row:first .desc .info', 'rusted_cypher'); + findWithAssert('#crates .row:first .desc .info .vers img[alt="0.7.1"]'); }); }); From c0c88a6f5ce193823ce6eeb960894a1d41c32c96 Mon Sep 17 00:00:00 2001 From: "Carol (Nichols || Goulding)" Date: Sat, 3 Dec 2016 11:24:56 -0500 Subject: [PATCH 2/2] Switch to stable rust --- .travis.yml | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/.travis.yml b/.travis.yml index 8ce9da04be6..3c74c9f2ec1 100644 --- a/.travis.yml +++ b/.travis.yml @@ -1,5 +1,5 @@ language: rust -rust: nightly +rust: stable sudo: false cache: