spec/configurators/ruby_configurator_spec.rb in rconf-0.7.15 vs spec/configurators/ruby_configurator_spec.rb in rconf-0.8.0
- old
+ new
@@ -34,10 +34,10 @@
it 'should install rvm if needed' do
rvm_tar = "rvm-#{RVM_VERSION}.tar.gz"
should_execute('rvm', '--version').once.and_return(success_result("rvm"))
should_execute('rvm', 'list').once.and_return(success_result("=> rvm #{RVM_VERSION}"))
- should_execute('curl', '-O', '-f', "http://rvm.beginrescueend.com/releases/#{rvm_tar}",
+ should_execute('curl', '-O', '-f', "https://rvm.beginrescueend.com/releases/#{rvm_tar}",
{:abort_on_failure=>"Failed to download rvm #{RVM_VERSION}"}).once.and_return(success_result)
should_execute('tar', 'zxf', rvm_tar,
{:abort_on_failure=>"Failed to extract rvm tgz from #{File.expand_path(File.join(File.dirname(__FILE__), '..', '..', "rvm-#{RVM_VERSION}.tar.gz"))}"}).once.and_return(success_result)
flexmock(Dir).should_receive(:chdir).and_yield
should_execute('./install', {:abort_on_failure=>"Failed to install rvm #{RVM_VERSION}"}).once.and_return(success_result)