blob: 0a244275e83909fb381ee30ee3512ed5ea2bc37a (
plain)
1
2
3
4
5
6
7
8
9
|
require 'spec_helper'
describe 'versioncmp' do
it { should run.with_params('7.2','8').and_return(-1) }
it { should run.with_params('7','8').and_return(-1) }
it { should run.with_params('8','8').and_return(0) }
it { should run.with_params('8.1','8').and_return(1) }
end
|