Skip to content

Commit

Permalink
Try fixing travis failure.
Browse files Browse the repository at this point in the history
  • Loading branch information
mcollina committed Oct 16, 2014
1 parent 1eeffde commit 370872e
Showing 1 changed file with 4 additions and 3 deletions.
7 changes: 4 additions & 3 deletions test/triple_store_spec.js
Original file line number Diff line number Diff line change
@@ -1,6 +1,7 @@

var levelgraph = require('../lib/levelgraph')
, level = require('level-test')()
, path = require('path')
, osenv = require('osenv');

describe('a basic triple store', function() {
Expand Down Expand Up @@ -80,7 +81,7 @@ describe('a basic triple store', function() {
});

['subject', 'predicate', 'object'].forEach(function(type) {
it('should get nothing if nothing matches an only ' + type + ' query',
it('should get nothing if nothing matches an only ' + type + ' query',
function(done) {

var query = {};
Expand Down Expand Up @@ -434,7 +435,7 @@ describe('a basic triple store', function() {
});

describe('deferred open support', function() {

var db;

afterEach(function(done) {
Expand All @@ -446,7 +447,7 @@ describe('deferred open support', function() {
});

it('should call the callback if a level is not passed', function(done) {
db = levelgraph(osenv.tmpdir() + '_levelDeferred1', done);
db = levelgraph(path.join(osenv.tmpdir(), '_levelDeferred1'), done);
});

it('should call the callback with a levelgrap', function(done) {
Expand Down

0 comments on commit 370872e

Please sign in to comment.