             @body[1].label.should.equal 'livret A'
             @body[1].balance.should.equal '2000'
 
-describe 'Connectors - Bank History', ->
 
-    # Start application before starting tests.
-    before helpers.instantiateApp
-
-    before ->
-        data = [
-            account: 'livret A'
-            label: 'remise cheque'
-            amount: '50.00'
-            date: '2012-12-31T00:00:00Z'
-        ,
-            account: 'livret A'
-            label: 'achat supermarche'
-            amount: '-100.00'
-            date: '2012-12-31T00:00:00Z'
-        ]
-        indexer = fakeServer data, 200, (url, body) ->
-            if url is '/connectors/bank/bnp/history/'
-                should.exist body.login
-                should.exist body.password
-
-        @indexerServer = indexer.listen 9092
-
-    after ->
-        @indexerServer.close()
-
-    after helpers.closeApp
-
-
-    describe 'Bank account data retrieval', ->
+    describe 'Bank operations data retrieval', ->
 
         it 'When I send a request for my bank account data', (done) ->
             data =

    after helpers.clearDB db


    describe 'Bank account data retrieval', ->

        it 'When I send a request for my bank account data', (done) ->
            data =

    before helpers.clearDB db
    before helpers.instantiateApp

    before (done) ->
        accounts = [
            { label: 'compte courant', balance: '1000' }
            { label: 'livret A', balance: '2000' }
        ]
        operations = [
            account: 'livret A'
            label: 'remise cheque'
            amount: '50.00'
            date: '2012-12-31T00:00:00Z'
        ,
            account: 'livret A'
            label: 'achat supermarche'
            amount: '-100.00'
            date: '2012-12-31T00:00:00Z'
        ]
        indexer = fakeServer null, 200, (url, body) ->

            if url is '/connectors/bank/bnp/'
                should.exist body.login
                should.exist body.password
                return accounts
            if url is '/connectors/bank/bnp/history/'
                should.exist body.login
                should.exist body.password
                return operations

        @indexerServer = indexer.listen 9092, done

    after ->
        @indexerServer.close()
