Skip to content

Commit 045489b

Browse files
author
Miroslav Bajtoš
committed
Merge branch 'release/1.0.5' into production
2 parents 458b8d0 + 6ac8c74 commit 045489b

File tree

4 files changed

+19
-5
lines changed

4 files changed

+19
-5
lines changed

CHANGES.md

Lines changed: 13 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -1,12 +1,16 @@
1-
2014-12-05, Version 1.0.4
1+
2015-01-13, Version 1.0.5
22
=========================
33

4-
* README: add basic mocha setup instructions (pulkitsinghal)
4+
* Throw err when beforeEach.withApp is not called (Farid Neshat)
55

6+
* Fix bad CLA URL in CONTRIBUTING.md (Ryan Graham)
67

7-
2014-10-02, Version 1.0.3
8+
9+
2014-12-05, Version 1.0.4
810
=========================
911

12+
* README: add basic mocha setup instructions (pulkitsinghal)
13+
1014
* Update version to 1.0.3 (Simon Ho)
1115

1216

@@ -15,6 +19,12 @@
1519

1620

1721

22+
2014-10-02, Version 1.0.3
23+
=========================
24+
25+
* Update version to 1.0.3 (Simon Ho)
26+
27+
1828
2014-10-02, Version 1.0.1
1929
=========================
2030

CONTRIBUTING.md

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -14,7 +14,7 @@ Contributing to `loopback-testing` is easy. In a few simple steps:
1414
* Adhere to code style outlined in the [Google C++ Style Guide][] and
1515
[Google Javascript Style Guide][].
1616

17-
* Sign the [Contributor License Agreement](https://cla.strongloop.com/strongloop/loopback-testing)
17+
* Sign the [Contributor License Agreement](https://cla.strongloop.com/agreements/strongloop/loopback-testing)
1818

1919
* Submit a pull request through Github.
2020

lib/helpers.js

Lines changed: 4 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -236,6 +236,10 @@ _describe.whenCalledRemotely = function(verb, url, data, cb) {
236236
var methodForVerb = verb.toLowerCase();
237237
if(methodForVerb === 'delete') methodForVerb = 'del';
238238

239+
if (this.request === undefined) {
240+
throw new Error('App is not specified. Please use lt.beforeEach.withApp to specify the app.');
241+
}
242+
239243
this.http = this.request[methodForVerb](this.url);
240244
delete this.url;
241245
this.http.set('Accept', 'application/json');

package.json

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,6 @@
11
{
22
"name": "loopback-testing",
3-
"version": "1.0.4",
3+
"version": "1.0.5",
44
"description": "Utilities for testing LoopBack applications",
55
"main": "index.js",
66
"scripts": {

0 commit comments

Comments
 (0)