From 0285d4924c8d80b16292d822e546eebefd526c11 Mon Sep 17 00:00:00 2001 From: Ivan Socolsky Date: Thu, 26 Feb 2015 12:46:54 -0300 Subject: [PATCH] reorganize model tests --- test/{ => models}/addressmanager.js | 2 +- test/{ => models}/txproposal.js | 2 +- test/{ => models}/wallet.js | 2 +- 3 files changed, 3 insertions(+), 3 deletions(-) rename test/{ => models}/addressmanager.js (94%) rename test/{ => models}/txproposal.js (98%) rename test/{ => models}/wallet.js (98%) diff --git a/test/addressmanager.js b/test/models/addressmanager.js similarity index 94% rename from test/addressmanager.js rename to test/models/addressmanager.js index d496a87..31236d3 100644 --- a/test/addressmanager.js +++ b/test/models/addressmanager.js @@ -4,7 +4,7 @@ var _ = require('lodash'); var chai = require('chai'); var sinon = require('sinon'); var should = chai.should(); -var AddressManager = require('../lib/model/addressmanager'); +var AddressManager = require('../../lib/model/addressmanager'); describe('AddressManager', function() { diff --git a/test/txproposal.js b/test/models/txproposal.js similarity index 98% rename from test/txproposal.js rename to test/models/txproposal.js index 08e29f9..1b646c1 100644 --- a/test/txproposal.js +++ b/test/models/txproposal.js @@ -4,7 +4,7 @@ var _ = require('lodash'); var chai = require('chai'); var sinon = require('sinon'); var should = chai.should(); -var TXP = require('../lib/model/txproposal'); +var TXP = require('../../lib/model/txproposal'); var Bitcore = require('bitcore'); diff --git a/test/wallet.js b/test/models/wallet.js similarity index 98% rename from test/wallet.js rename to test/models/wallet.js index c8b7620..54d0959 100644 --- a/test/wallet.js +++ b/test/models/wallet.js @@ -4,7 +4,7 @@ var _ = require('lodash'); var chai = require('chai'); var sinon = require('sinon'); var should = chai.should(); -var Wallet = require('../lib/model/wallet'); +var Wallet = require('../../lib/model/wallet'); describe('Wallet', function() {