diff --git a/Gruntfile.js b/Gruntfile.js
index d34880f..b8e404c 100644
--- a/Gruntfile.js
+++ b/Gruntfile.js
@@ -143,6 +143,19 @@ module.exports = function(grunt) {
}
}
},
+ 'require-outfile-same-dir': {
+ src: 'test/fixtures/require-baseurl/src/**/*.js',
+ options: {
+ outfile: ".grunt/grunt-contrib-jasmine/_SpecRunner.html",
+ specs: 'test/fixtures/require-baseurl/spec/**/*Spec.js',
+ template: require('./'),
+ templateOptions: {
+ requireConfig: {
+ baseUrl: '../../test/fixtures/require-baseurl/src/'
+ }
+ }
+ }
+ },
},
bump: {
options: {
diff --git a/src/templates/jasmine-requirejs.html b/src/templates/jasmine-requirejs.html
index fecb54b..2f6e9f0 100644
--- a/src/templates/jasmine-requirejs.html
+++ b/src/templates/jasmine-requirejs.html
@@ -7,14 +7,14 @@
<% css.forEach(function(style){ %>
<% }) %>
-
+
<% with (scripts) { %>
<% [].concat(vendor).forEach(function(script){ %>
<% }) %>
<% }; %>
-
+
<% with (scripts) { %>
<% [].concat(jasmine, boot, helpers).forEach(function(script){ %>