mirror of
https://github.com/ditkrg/validates_timeliness.git
synced 2026-01-22 22:06:45 +00:00
20 lines
411 B
Ruby
20 lines
411 B
Ruby
# For use with the ginger gem to test plugin against multiple versions of Rails.
|
|
#
|
|
# To use ginger:
|
|
#
|
|
# gem install ginger
|
|
#
|
|
# Then run
|
|
#
|
|
# ginger spec
|
|
#
|
|
Ginger.configure do |config|
|
|
rails_versions = ['2.0.2', '2.1.2', '2.2.2', '2.3.3', '2.3.4', '2.3.5', '2.3.6', '2.3.9']
|
|
|
|
rails_versions.each do |v|
|
|
g = Ginger::Scenario.new("Rails #{v}")
|
|
g['rails'] = v
|
|
config.scenarios << g.dup
|
|
end
|
|
end
|