diff --git a/tasks/jasmine/templates/DefaultRunner.tmpl b/tasks/jasmine/templates/DefaultRunner.tmpl index 454e3f9..7fa17a3 100644 --- a/tasks/jasmine/templates/DefaultRunner.tmpl +++ b/tasks/jasmine/templates/DefaultRunner.tmpl @@ -3,6 +3,7 @@ Jasmine Spec Runner + <% css.forEach(function(style){ %> <% }) %> diff --git a/tasks/lib/jasmine.js b/tasks/lib/jasmine.js index bd91db0..401b13d 100644 --- a/tasks/lib/jasmine.js +++ b/tasks/lib/jasmine.js @@ -53,7 +53,7 @@ exports.init = function(grunt, phantomjs) { exports.copyTempFile(__dirname + '/../jasmine/reporters/PhantomReporter.js', 'reporter.js'); - ['jasmine.css', 'jasmine.js', 'jasmine-html.js', 'boot.js'].forEach(function(name){ + ['jasmine.css', 'jasmine.js', 'jasmine-html.js', 'boot.js', 'jasmine_favicon.png'].forEach(function(name){ var path = __dirname + '/../../vendor/jasmine-' + options.version + '/' + name; if (fs.existsSync(path)) exports.copyTempFile(path, name); }); diff --git a/test/expected/defaultTemplate.html b/test/expected/defaultTemplate.html index 6530ea8..a1dc71a 100644 --- a/test/expected/defaultTemplate.html +++ b/test/expected/defaultTemplate.html @@ -3,6 +3,7 @@ Jasmine Spec Runner + diff --git a/test/jasmine_test.js b/test/jasmine_test.js index 3ec634d..b26c2bd 100644 --- a/test/jasmine_test.js +++ b/test/jasmine_test.js @@ -31,6 +31,7 @@ exports.jasmine = { reporters : ['R1.js'], boot : ['BOOT.js'] }, + temp: 'path/to/temp/folder', options : {} };