spec/version_spec.rb in vvm-rb-0.0.8 vs spec/version_spec.rb in vvm-rb-0.0.9
- old
+ new
@@ -1,15 +1,15 @@
require 'spec_helper'
describe 'Version' do
describe 'list' do
it 'echo available vim versions' do
- expect(Version.list).to match(/start\n(v7-.+\n)+tip$/)
+ expect(Version.list.join("\n")).to match(/start\n(v7-.+\n)+tip$/)
end
end
describe 'versions' do
it 'echo installed vim versions' do
- expect(Version.versions).to eq("v7-3-969\nv7-4")
+ expect(Version.versions.join("\n")).to eq("v7-4-083\nv7-4-103")
end
end
end