validates_timeliness/spec/ginger_scenarios.rb
2009-06-20 22:30:08 +10:00

20 lines
433 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', '2.3.2']
rails_versions.each do |v|
g = Ginger::Scenario.new("Rails #{v}")
g['rails'] = v
config.scenarios << g.dup
end
end