From c48c8fde5b6e88cbd4893d3bc2b4dbda5dd58daa Mon Sep 17 00:00:00 2001 From: Rob Dodson Date: Mon, 4 Aug 2014 12:14:28 -0700 Subject: [PATCH] make tests pass again --- test/app-test.js | 12 ++++++++---- test/el-test.js | 10 ++++++++-- 2 files changed, 16 insertions(+), 6 deletions(-) diff --git a/test/app-test.js b/test/app-test.js index 3c6cf6b..1521c01 100644 --- a/test/app-test.js +++ b/test/app-test.js @@ -38,20 +38,24 @@ describe('yo polymer:app test', function () { 'Gruntfile.js', '.jshintrc', 'app/index.html', - 'app/styles/main.css', + 'app/styles/main.scss', 'app/scripts/app.js', 'app/404.html', 'app/favicon.ico', 'app/.htaccess', 'app/robots.txt', 'app/elements/elements.html', - 'app/elements/yo-greeting.html', - 'app/elements/yo-list.html' + 'app/elements/yo-greeting/yo-greeting.html', + 'app/elements/yo-greeting/yo-greeting.scss', + 'app/elements/yo-list/yo-list.html', + 'app/elements/yo-list/yo-list.scss' ]; helpers.mockPrompt(this.polymer, { includeCore: true, - includePaper: true + includePaper: true, + includeSass: true, + includeLibSass: true }); this.polymer.run({}, function () { diff --git a/test/el-test.js b/test/el-test.js index dc8416e..f433cbd 100644 --- a/test/el-test.js +++ b/test/el-test.js @@ -38,12 +38,18 @@ describe('yo polymer:el test', function () { it('creates expected files', function (done) { var expected = [ - 'app/elements/x-foo.html' + 'app/elements/x-foo/x-foo.html', + 'app/elements/x-foo/x-foo.css' ]; helpers.mockPrompt(this.polymer, { includeCore: true, - includePaper: true + includePaper: true, + includeSass: false // FIXME: figure out why .yo-rc isn't generated + }); + + helpers.mockPrompt(this.element, { + externalStyle: true }); // Run the polymer:app generator