       scope.removeExchange(event, 'exchange')
       expect(event.preventDefault).toHaveBeenCalled()
       expect(OrderCycle.removeExchange).toHaveBeenCalledWith('exchange')
+      expect(scope.order_cycle_form.$dirty).toEqual true
 
     it 'Adds coordinator fees', ->
       scope.addCoordinatorFee(event)

    EnterpriseFee = null

    beforeEach ->
      scope = {}
      event =
        preventDefault: jasmine.createSpy('preventDefault')
      location =

    it 'Submits the order cycle via OrderCycle update', ->
      scope.submit('/admin/order_cycles')
      expect(OrderCycle.update).toHaveBeenCalledWith('/admin/order_cycles')
      expect(scope.order_cycle_form.$setPristine.calls.length).toEqual 1


describe 'OrderCycle services', ->
