Skip to content

Instantly share code, notes, and snippets.

@ys
Created October 16, 2012 19:26
Show Gist options
  • Save ys/3901406 to your computer and use it in GitHub Desktop.
Save ys/3901406 to your computer and use it in GitHub Desktop.
chekku tests for fun
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