spec/user/rbenv_spec.rb in itamae-plugin-recipe-rtn_rbenv-0.0.4 vs spec/user/rbenv_spec.rb in itamae-plugin-recipe-rtn_rbenv-0.0.5
- old
+ new
@@ -3,18 +3,18 @@
describe command('. /home/vagrant/.bash_profile; which rbenv') do
let(:disable_sudo) { true }
its(:stdout) { should match '/home/vagrant/.rbenv/bin/rbenv' }
end
-%w[2.1.4 2.1.3].each do |ruby_version|
+%w[2.2.0 2.1.3].each do |ruby_version|
describe command(". /home/vagrant/.bash_profile; rbenv versions | grep '#{ruby_version}'") do
let(:disable_sudo) { true }
its(:stdout) { should match /#{Regexp.escape(ruby_version)}/ }
end
end
-describe command(". /home/vagrant/.bash_profile; rbenv shell 2.1.4; gem list | grep 'sinatra'") do
+describe command(". /home/vagrant/.bash_profile; rbenv shell 2.2.0; gem list | grep 'sinatra'") do
let(:disable_sudo) { true }
its(:stdout) { should match /sinatra/ }
end
describe command(". /home/vagrant/.bash_profile; rbenv shell 2.1.3; gem list | grep 'rake'") do
@@ -22,8 +22,8 @@
its(:stdout) { should match /10\.2\.0/ }
end
describe command(". /home/vagrant/.bash_profile; ruby -v") do
let(:disable_sudo) { true }
- its(:stdout) { should match /2\.1\.4/ }
+ its(:stdout) { should match /2\.2\.0/ }
end