Skip to content
Toggle navigation
Toggle navigation
This project
Loading...
Sign in
brainfood
/
ofbiz-backbone-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
1f6f9249
authored
2014-04-07 14:05:04 -0500
by
Adam Heath
Browse Files
Options
Browse Files
Tag
Download
Email Patches
Plain Diff
Enable coverage tracking of spec files.
1 parent
cf9600ec
Show whitespace changes
Inline
Side-by-side
Showing
3 changed files
with
9 additions
and
3 deletions
Gruntfile.js
test/specs/ofbiz/model/PostalAddress.spec.js
test/specs/ofbiz/model/TelecomNumber.spec.js
Gruntfile.js
View file @
1f6f924
...
...
@@ -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
]);
};
...
...
@@ -218,7 +221,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'
),
...
...
test/specs/ofbiz/model/PostalAddress.spec.js
View file @
1f6f924
...
...
@@ -11,7 +11,7 @@ define(function(require) {
expect
(
PostalAddress
).
toBeTruthy
();
});
});
if
(
true
)
describe
(
'PostalAddress'
,
function
()
{
describe
(
'PostalAddress'
,
function
()
{
beforeEach
(
function
()
{
_
.
extend
(
Backbone
.
Model
.
prototype
,
Backbone
.
Validation
.
mixin
);
});
...
...
test/specs/ofbiz/model/TelecomNumber.spec.js
View file @
1f6f924
...
...
@@ -11,7 +11,7 @@ define(function(require) {
expect
(
TelecomNumber
).
toBeTruthy
();
});
});
if
(
true
)
describe
(
'TelecomNumber'
,
function
()
{
describe
(
'TelecomNumber'
,
function
()
{
beforeEach
(
function
()
{
_
.
extend
(
Backbone
.
Model
.
prototype
,
Backbone
.
Validation
.
mixin
);
});
...
...
Please
register
or
sign in
to post a comment