mirror of
https://github.com/valitydev/salt.git
synced 2024-11-07 17:09:03 +00:00
Fixed to expanded URL
This commit is contained in:
parent
e4f78637a0
commit
d5cb70360f
@ -82,7 +82,7 @@ def install(runas=None):
|
||||
'''
|
||||
# RVM dependencies on Ubuntu 10.04:
|
||||
# bash coreutils gzip bzip2 gawk sed curl git-core subversion
|
||||
installer = 'https://get.rvm.io'
|
||||
installer = 'https://raw.githubusercontent.com/rvm/rvm/master/binscripts/rvm-installer'
|
||||
ret = __salt__['cmd.run_all'](
|
||||
# the RVM installer automatically does a multi-user install when it is
|
||||
# invoked with root privileges
|
||||
|
@ -40,7 +40,7 @@ class TestRvmModule(TestCase):
|
||||
mock = MagicMock(return_value={'retcode': 0})
|
||||
with patch.dict(rvm.__salt__, {'cmd.run_all': mock}):
|
||||
rvm.install()
|
||||
mock.assert_called_once_with('curl -Ls https://get.rvm.io | bash -s stable', runas=None, python_shell=True)
|
||||
mock.assert_called_once_with('curl -Ls https://raw.githubusercontent.com/rvm/rvm/master/binscripts/rvm-installer | bash -s stable', runas=None, python_shell=True)
|
||||
|
||||
def test_install_ruby_nonroot(self):
|
||||
mock = MagicMock(return_value={'retcode': 0, 'stdout': 'stdout'})
|
||||
|
Loading…
Reference in New Issue
Block a user