Skip to content

HTTPS clone URL

Subversion checkout URL

You can clone with HTTPS or Subversion.

Download ZIP
Newer
Older
100644 28 lines (21 sloc) 0.837 kb
ee2a62e Pat Allan Adding ginger support
pat authored
1 require 'ginger'
2
3 Ginger.configure do |config|
4 config.aliases["active_record"] = "activerecord"
9e131f2 Pat Allan Updating ginger scenario file to include active support references
pat authored
5 config.aliases["active_support"] = "activesupport"
ee2a62e Pat Allan Adding ginger support
pat authored
6
7 ar_1_2_6 = Ginger::Scenario.new
9e131f2 Pat Allan Updating ginger scenario file to include active support references
pat authored
8 ar_1_2_6[/^active_?support$/] = "1.4.4"
ee2a62e Pat Allan Adding ginger support
pat authored
9 ar_1_2_6[/^active_?record$/] = "1.15.6"
10
8ae2c1d Pat Allan Updating cucumber stories to handle AR 1.2.6, and using more recent rele...
pat authored
11 ar_2_0_4 = Ginger::Scenario.new
12 ar_2_0_4[/^active_?support$/] = "2.0.4"
13 ar_2_0_4[/^active_?record$/] = "2.0.4"
ee2a62e Pat Allan Adding ginger support
pat authored
14
8ae2c1d Pat Allan Updating cucumber stories to handle AR 1.2.6, and using more recent rele...
pat authored
15 ar_2_1_2 = Ginger::Scenario.new
16 ar_2_1_2[/^active_?support$/] = "2.1.2"
17 ar_2_1_2[/^active_?record$/] = "2.1.2"
ee2a62e Pat Allan Adding ginger support
pat authored
18
ebc754b Pat Allan Adding 2.2.0 to ginger scenarios
pat authored
19 ar_2_2_0 = Ginger::Scenario.new
9e131f2 Pat Allan Updating ginger scenario file to include active support references
pat authored
20 ar_2_2_0[/^active_?support$/] = "2.2.0"
ebc754b Pat Allan Adding 2.2.0 to ginger scenarios
pat authored
21 ar_2_2_0[/^active_?record$/] = "2.2.0"
22
1e98e63 Pat Allan Adding 2.3 to ginger scenarios, fixing ActiveRecord-related library requ...
pat authored
23 ar_2_3_0 = Ginger::Scenario.new
24 ar_2_3_0[/^active_?support$/] = "2.3.0"
25 ar_2_3_0[/^active_?record$/] = "2.3.0"
26
27 config.scenarios << ar_1_2_6 << ar_2_0_4 << ar_2_1_2 << ar_2_2_0 << ar_2_3_0
ee2a62e Pat Allan Adding ginger support
pat authored
28 end
Something went wrong with that request. Please try again.