spec/version_spec.rb in vvm-rb-0.0.15 vs spec/version_spec.rb in vvm-rb-0.1.0
- old
+ new
@@ -10,11 +10,11 @@
end
describe 'versions' do
context 'vims dirctory exists' do
it 'echo installed vim versions' do
- expect(Version.versions.join("\n")).to eq("v7-4-083\nv7-4-103")
+ expect(Version.versions.join("\n")).to eq "v7-4-083\nv7-4-103"
end
end
context 'vims dirctory is not found' do
before do
@tmp_vvmroot = ENV['VVMROOT']
@@ -53,10 +53,10 @@
end
end
context 'dicimal version' do
it 'return formated vim version' do
- expect(Version.format('7.4.112')).to eq 'v7-4-112'
+ expect(Version.format('7.4a.001')).to eq 'v7-4a-001'
end
end
context 'latest' do
it 'return latest vim version' do