/* global describe, it, expect */

var chai = require('chai');
var expect = require('chai').expect;
var sinon = require('sinon');
var factory = require('../../../../app/login/http/handlers/initiate');
var flowstate = require('flowstate');


describe('http/login/handlers/initiate', function() {
  
  it('should export factory function', function() {
    expect(factory).to.be.a('function');
  });
  
  it('should be annotated', function() {
    expect(factory['@implements']).to.be.undefined;
    expect(factory['@singleton']).to.be.undefined;
  });
  
});

@@ -119,24 +119,62 @@
 e('sinon');%0A
+var flowstate = require('flowstate');%0A
 var factory 
@@ -236,46 +236,8 @@
 ');%0A
-var flowstate = require('flowstate');%0A
 %0A%0Ade
@@ -248,18 +248,18 @@
 be('
-http/
 login
+/http
 /han

Update tests.