 
   test "Retrieve all projects" do
     ps = Builds.list_projects()
+    Logger.debug "ps is #{inspect ps}"
     assert ps == []
   end
 

    b = Build.changeset(%Build{}, @valid_b_attrs)
    changeset = Project.changeset(%Project{}, unique_project @valid_p_attrs)
    |> put_embed(:last_build, b)
    Logger.error "changeset = #{inspect changeset}"
    result = Builds.insert_project(changeset)
    assert {:error, _} = result
  end


  test "insert a project" do
    changeset = Project.changeset(%Project{}, unique_project @valid_p_attrs)
    # Logger.debug "changeset = #{inspect changeset}"
    result = Builds.insert_project(changeset)
    assert {:ok, _} = result
    assert {:ok, %Project{}} = result
