Skip to content
This repository has been archived by the owner on Feb 23, 2021. It is now read-only.

Commit

Permalink
fix integration tests
Browse files Browse the repository at this point in the history
  • Loading branch information
tamarahills committed Nov 20, 2018
1 parent 7b29ce1 commit 40472ad
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 24 deletions.
4 changes: 2 additions & 2 deletions test/integration/ScoutTitles.json
Expand Up @@ -50,8 +50,8 @@
"resolved_url": "http://nautil.us/issue/15/turbulence/can-you-die-from-a-broken-heart",
"title": "Can You Die From a Broken Heart?",
"author": "Kirsten Weir",
"lengthMinutes": 15,
"length_minutes": 15,
"lengthMinutes": 16,
"length_minutes": 16,
"imageURL": "http://static.nautil.us/3695_af1b5754061ebbd4412adfb34c8d3534.png",
"image_url": "http://static.nautil.us/3695_af1b5754061ebbd4412adfb34c8d3534.png"
},
Expand Down
22 changes: 0 additions & 22 deletions test/integration/test.js
Expand Up @@ -315,28 +315,6 @@ describe('POST /command/intent', function() {
it('Search: error', intentError);
});

describe('ScoutMyPocket', function() {
before(function() {
data.cmd = 'ScoutMyPocket';
});

it('ScoutMyPocket', done => {
chai
.request(API_URL)
.post('/command/intent')
.set('x-access-token', accessToken)
.send(data)
.end((err, res) => {
expect(res).have.status(200);
expect(res.body).be.a('object');
expect(res.body).have.property('url');
expect(Object.keys(res.body)).to.have.lengthOf(1);
expect(res.body.url).not.be.equal('');
done();
});
});
});

describe('Archive', function() {
before(function() {
data.cmd = 'Archive';
Expand Down

0 comments on commit 40472ad

Please sign in to comment.