def METHOD_NAME():
    mock = MagicMock(return_value={"retcode": 0, "stdout": "stdout"})
    expected = [
        call(
            [
                "/usr/local/rvm/bin/rvm",
                "install",
                "2.0.0",
                "-C --enable-shared,--with-readline-dir=$HOME/.rvm/usr",
                "--patch /path/to/awesome.patch",
            ],
            runas=None,
            cwd=None,
            python_shell=False,
            env=None,
        )
    ]
    with patch.dict(rvm.__salt__, {"cmd.run_all": mock}):
        rvm.install_ruby(
            "2.0.0",
            opts=[
                "-C --enable-shared,--with-readline-dir=$HOME/.rvm/usr",
                "--patch /path/to/awesome.patch",
            ],
        )
        assert mock.call_args_list == expected