     {:ok, inst: inst, proj: proj}
   end
 
-  def new_patch(proj, pr_xref, commit \\ "N") do
+  def new_patch(proj, pr_xref, commit) do
     %Patch{
       project_id: proj.id,
       pr_xref: pr_xref,

        statuses: %{"iniN" => []},
        files: %{"trying" => %{"bors.toml" => ~s/status = [ "ci" ]/}}
      }})
    patch = new_patch(proj, 1)
    Attemptor.handle_cast({:tried, patch.id, "test"}, proj.id)
    assert GitHub.ServerMock.get_state() == %{
      {{:installation, 91}, 14} => %{

        statuses: %{"iniN" => []},
        files: %{"trying" => %{".travis.yml" => "", "appveyor.yml" => ""}}
      }})
    patch = new_patch(proj, 1, "N")
    Attemptor.handle_cast({:tried, patch.id, "test"}, proj.id)
    statuses = Repo.all(AttemptStatus)
    assert Enum.any?(statuses,
