Skip to content

Commit

Permalink
rails7: updated nodejs version to 20.8.0
Browse files Browse the repository at this point in the history
  • Loading branch information
minimum2scp committed Sep 30, 2023
1 parent 12eed22 commit 753e505
Showing 1 changed file with 6 additions and 6 deletions.
12 changes: 6 additions & 6 deletions spec/rails7/00base_spec.rb
Original file line number Diff line number Diff line change
Expand Up @@ -78,12 +78,12 @@

describe command('nodenv version-name') do
let(:login_shell){ true }
its(:stdout){ should eq "20.7.0\n" }
its(:stdout){ should eq "20.8.0\n" }
end

[
{
nodejs: '20.7.0',
nodejs: '20.8.0',
},
].each do |v|
describe command('nodenv versions --bare --skip-aliases') do
Expand All @@ -102,15 +102,15 @@
let(:login_shell){ true }
its(:stdout){
should eq <<~ALIASES
20 => 20.7.0
20.7 => 20.7.0
20 => 20.8.0
20.8 => 20.8.0
ALIASES
}
end

{
'20' => '20.7.0',
'20.7' => '20.7.0',
'20' => '20.8.0',
'20.8' => '20.8.0',
}.each do |src, dest|
describe file("/opt/nodenv/versions/#{src}") do
it { should be_symlink }
Expand Down

0 comments on commit 753e505

Please sign in to comment.