1
0
Fork 0
mirror of https://github.com/rest-client/rest-client.git synced 2022-11-09 13:49:40 -05:00

Add a test on the version number.

This is pretty dumb, but at least it would prevent another 0.0.0
regression.
This commit is contained in:
Andy Brody 2014-03-06 18:18:07 -08:00
parent a6e78b4504
commit 3dead16474

View file

@ -70,4 +70,10 @@ describe RestClient do
end
end
describe 'version' do
it 'has a version ~> 1.7.0.alpha' do
ver = Gem::Version.new(RestClient.version)
Gem::Requirement.new('~> 1.7.0.alpha').should be_satisfied_by(ver)
end
end
end