1
0
mirror of https://github.com/Unleash/unleash.git synced 2024-12-22 19:07:54 +01:00

renamed api to feature-api

This commit is contained in:
Ivar Conradi Østhus 2014-10-22 16:39:07 +02:00
parent 3dd35fcf71
commit 03edb7601b
4 changed files with 2 additions and 2 deletions

View File

@ -3,7 +3,7 @@ var express = require('express'),
log4js = require('log4js'),
logger = require('./lib/logger'),
routes = require('./lib/routes'),
api = require('./lib/api'),
api = require('./lib/featureApi'),
validator = require('express-validator'),
app = express(),
router = express.Router(),

View File

@ -5,7 +5,7 @@ var eventStore = require('../lib/eventStore');
describe('EventStore', function () {
describe('#create()', function () {
it('should emit event', function (done) {
eventStore.on(events.featureCreated, function (x) {
eventStore.once(events.featureCreated, function (x) {
assert(x);
done();
}