```ruby
require "test_helper"

class PlaygroundTest < Test::Unit::TestCase

  def test_responds_to_version
    IO.any_instance.expects(:puts)
    ARGV.clear
    ARGV << '--version'
    load "bin/vanity"
  rescue SystemExit => e
    assert e.status == 0
  end

  def test_responds_to_help
    IO.any_instance.expects(:puts)
    ARGV.clear
    ARGV << '--help'
    load "bin/vanity"
  rescue SystemExit => e
    assert e.status == 0
  end

  def test_responds_to_list
    require "vanity/commands/list"
    Vanity::Commands.expects(:list)
    ARGV.clear
    ARGV << 'list'
    load "bin/vanity"
  rescue SystemExit => e
    assert e.status == 0
  end

  def test_responds_to_report
    require "vanity/commands/report"
    Vanity::Commands.expects(:report)
    ARGV.clear
    ARGV << 'report'
    load "bin/vanity"
  rescue SystemExit => e
    assert e.status == 0
  end

  def test_responds_to_unknown_commands
    require "vanity/commands/upgrade"
    Vanity::Commands.expects(:upgrade)
    ARGV.clear
    ARGV << 'upgrade'
    load "bin/vanity"
  rescue SystemExit => e
    assert e.status == 0
  end

end```

Switch cli test to spec format.
user
```ruby
require "test_helper"

describe "bin/vanity" do

  it "responds to version" do
    proc {
      IO.any_instance.expects(:puts)
      ARGV.clear
      ARGV << '--version'
      load "bin/vanity"
    }.must_raise SystemExit
  end

  it "responds to help" do
    proc {
      IO.any_instance.expects(:puts)
      ARGV.clear
      ARGV << '--help'
      load "bin/vanity"
    }.must_raise SystemExit
  end

  it "responds to list" do
    require "vanity/commands/list"
    Vanity::Commands.expects(:list)
    ARGV.clear
    ARGV << 'list'
    load "bin/vanity"
  end

  it "responds to report" do
    require "vanity/commands/report"
    Vanity::Commands.expects(:report)
    ARGV.clear
    ARGV << 'report'
    load "bin/vanity"
  end

  it "responds to unknown commands" do
    require "vanity/commands/upgrade"
    Vanity::Commands.expects(:upgrade)
    ARGV.clear
    ARGV << 'upgrade'
    load "bin/vanity"
  end
end```
assistant