Skip to content
Toggle navigation
Toggle navigation
This project
Loading...
Sign in
brainfood
/
backbone-nested-models
Go to a project
Toggle navigation
Toggle navigation pinning
Projects
Groups
Snippets
Help
Project
Activity
Repository
Graphs
Network
Create a new issue
Commits
Issue Boards
Files
Commits
Network
Compare
Branches
Tags
a4e92c5d
authored
2014-04-07 13:50:58 -0500
by
Adam Heath
Browse Files
Options
Browse Files
Tag
Download
Email Patches
Plain Diff
Override the urls for the spec files as well, inside require.
1 parent
6bd3073f
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
7 additions
and
1 deletions
Gruntfile.js
Gruntfile.js
View file @
a4e92c5
...
...
@@ -41,6 +41,9 @@ module.exports = function (grunt) {
if
(
url
.
indexOf
(
'src/scripts/'
)
===
0
)
{
url
=
'./.grunt/grunt-contrib-jasmine/'
+
url
;
}
if
(
url
.
indexOf
(
'test/specs/'
)
===
0
)
{
url
=
'./.grunt/grunt-contrib-jasmine/'
+
url
;
}
//console.log('url=' + url);
return
oldLoad
.
apply
(
this
,
[
context
,
moduleName
,
url
]);
};
...
...
@@ -219,7 +222,10 @@ module.exports = function (grunt) {
jasmine
:
{
all
:
{
src
:
'<%= yeoman.src %>/scripts/{,**/}*.js'
,
src
:
[
'<%= yeoman.src %>/scripts/{,**/}*.js'
,
'test/specs/**/*.spec.js'
,
],
options
:
{
specs
:
'test/specs/**/*.spec.js'
,
template
:
require
(
'grunt-template-jasmine-istanbul'
),
...
...
Please
register
or
sign in
to post a comment