Skip to content

Commit

Permalink
Fixes for node 0.6.x
Browse files Browse the repository at this point in the history
  • Loading branch information
Bob Corsaro committed Jan 28, 2012
1 parent a22dc39 commit 164488f
Show file tree
Hide file tree
Showing 3 changed files with 3 additions and 9 deletions.
4 changes: 1 addition & 3 deletions test/objectify-test.js
Original file line number Diff line number Diff line change
Expand Up @@ -5,10 +5,8 @@
* I want to call the the embedly api
* Because I want to objectify a url
*/
require.paths.unshift(require('path').join(__dirname, '../lib'))

var vows = require('vows')
, embedly = require('embedly')
, embedly = require('../')
, require_either = embedly.utils.require_either
, assert = require('assert')
, path = require('path')
Expand Down
4 changes: 1 addition & 3 deletions test/oembed-test.js
Original file line number Diff line number Diff line change
Expand Up @@ -5,10 +5,8 @@
* I want to call the the embedly api
* Because I want and oembed for a specific url
*/
require.paths.unshift(require('path').join(__dirname, '../lib'))

var vows = require('vows')
, embedly = require('embedly')
, embedly = require('../')
, require_either = embedly.utils.require_either
, assert = require('assert')
, Hash = require_either('hashish', 'traverse/hash')
Expand Down
4 changes: 1 addition & 3 deletions test/services-test.js
Original file line number Diff line number Diff line change
Expand Up @@ -8,9 +8,7 @@

var path = require('path')

require.paths.unshift(path.join(__dirname, '../lib'))

var embedly = require('embedly')
var embedly = require('../')
, vows = require('vows')
, assert = require('assert')
, Hash = embedly.utils.require_either('hashish', 'traverse/hash')
Expand Down

0 comments on commit 164488f

Please sign in to comment.