                 statuses: %{"SHA-1" => %{"ci" => :running}}
           }
         }
+
+  Now try
+
+      iex> FriendlyMock.ci_status("SHA-1", "ci", :ok)
+
+  instead of :running above.
   """
 
   alias BorsNG.GitHub.ServerMock

    update_mock([:pr_commits, pr_num], &(&1 ++ [commit]))
  end

  def add_comment(pr_num, body, author \\ @def_user) do
    # Adds a reviewer comment.
    pr = Enum.find(prs(), &(match?(%{number: ^pr_num}, &1)))
    update_mock([:comments, pr_num], &([body | &1]))
    WebhookController.do_webhook(%{

    delete_merged_branches = true
    """}

  @doc """
  Creates a single installation with a single repo where
  nothing has happened yet.
  """
  def init_state() do
    ServerMock.put_state(%{
      {:installation, 91} => %{ repos: [
          %BorsNG.GitHub.Repo{
