Skip to content

HTTPS clone URL

Subversion checkout URL

You can clone with HTTPS or Subversion.

Download ZIP
Browse files

removed promised-io which travis is choking on

  • Loading branch information...
commit 36777fcfc260e64c818665e7d43781ea3f8daf43 1 parent e219888
@badamson authored
Showing with 7 additions and 8 deletions.
  1. +2 −3 package.json
  2. +5 −5 test/v4/testTrack.coffee
View
5 package.json
@@ -1,6 +1,6 @@
{
"name": "echonest",
- "version": "0.0.1",
+ "version": "0.0.2",
"private": false,
"dependencies": {
"fermata": "",
@@ -10,8 +10,7 @@
"async": ">= 0.1.15",
"coffee-script": "",
"coffeelint": "",
- "vows": "",
- "promised-io": ""
+ "vows": ""
},
"engines": {
"node": "*"
View
10 test/v4/testTrack.coffee
@@ -1,4 +1,4 @@
-fs = require("promised-io/fs")
+fs = require 'fs'
assert = require 'assert'
async = require 'async'
vows = require 'vows'
@@ -41,10 +41,10 @@ vows.describe('track methods').addBatch({
'we see no errors': checkErrors
"to post a koenjihyakkei tune to /track/upload":
topic: (nest) ->
- fs.readFile(koenjiSong.filename).then (filebuffer) =>
- nest.track.upload {
- track: {data: filebuffer}, filetype: 'mp3'
- }, @callback
+ filebuffer = fs.readFileSync(koenjiSong.filename)
+ nest.track.upload {
+ track: {data: filebuffer}, filetype: 'mp3'
+ }, @callback
undefined
'it is correctly identified': (err, data) ->
matchesKoenji data
Please sign in to comment.
Something went wrong with that request. Please try again.