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:
parent
a6e78b4504
commit
3dead16474
1 changed files with 6 additions and 0 deletions
|
@ -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
|
||||
|
|
Loading…
Add table
Reference in a new issue