mirror of
https://github.com/ditkrg/validates_timeliness.git
synced 2026-01-23 06:16:44 +00:00
20 lines
410 B
Ruby
20 lines
410 B
Ruby
# For use with the ginger gem to test plugin against multiple versions of Rails.
|
|
#
|
|
# To use ginger:
|
|
#
|
|
# sudo gem install freelancing-god-ginger --source=http://gems.github.com
|
|
#
|
|
# Then run
|
|
#
|
|
# ginger spec
|
|
#
|
|
Ginger.configure do |config|
|
|
rails_versions = ['2.0.2', '2.1.2', '2.2.2']
|
|
|
|
rails_versions.each do |v|
|
|
g = Ginger::Scenario.new
|
|
g['rails'] = v
|
|
config.scenarios << g.dup
|
|
end
|
|
end
|