Created
October 16, 2012 19:26
-
-
Save ys/3901406 to your computer and use it in GitHub Desktop.
chekku tests for fun
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
describe '.check_version' do | |
it 'should be ~> 5.5 for mysql' do | |
definition.check_version('~> 5.5').should be_true | |
end | |
it 'should be >= 5.3 for mysql' do | |
definition.check_version('>= 5.3').should be_true | |
end | |
it 'should be <= 5.6 for mysql' do | |
definition.check_version('<= 5.6').should be_true | |
end | |
end |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment