import * as types from '../constants/ActionTypes'
import * as actions from './project'

describe('project actions', () => {
  it('deleteProject should create DELETE_PROJECT action', () => {
    expect(actions.deleteProject(1)).toEqual({
      type: types.DELETE_PROJECT,
      id: 1
    })
  })
  it('projectDeleted should create PROJECT_DELETED action', () => {
    expect(actions.projectDeleted(1)).toEqual({
      type: types.PROJECT_DELETED,
      id: 1
    })
  })
})