Skip to content
This repository has been archived by the owner on Mar 26, 2018. It is now read-only.

Commit

Permalink
make tests pass again
Browse files Browse the repository at this point in the history
  • Loading branch information
robdodson committed Aug 4, 2014
1 parent 3db94c3 commit c48c8fd
Show file tree
Hide file tree
Showing 2 changed files with 16 additions and 6 deletions.
12 changes: 8 additions & 4 deletions test/app-test.js
Original file line number Diff line number Diff line change
Expand Up @@ -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 () {
Expand Down
10 changes: 8 additions & 2 deletions test/el-test.js
Original file line number Diff line number Diff line change
Expand Up @@ -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
Expand Down

0 comments on commit c48c8fd

Please sign in to comment.