Skip to content
This repository

HTTPS clone URL

Subversion checkout URL

You can clone with HTTPS or Subversion.

Download ZIP
Browse code

use rails 2.3.8 for integration-test

  • Loading branch information...
commit 4315c5a98631b97579bbae62dac34d2c27a5c446 1 parent 989bdf5
Christian Meier authored July 30, 2010
2  Rakefile
@@ -39,7 +39,7 @@ Spec::Rake::SpecTask.new(:spec) do |t|
39 39
 end
40 40
 
41 41
 desc 'generate rails using all generators and run the specs'
42  
-task :integration_tests => [:spec, :install] do
  42
+task :"integration-test" => [:spec, :install] do
43 43
   require 'datamapper4rails/integration_test'
44 44
   Datamapper4Rails::IntegrationTest.new do |t|
45 45
     t.generate "datamapper_model role name:string"
2  lib/datamapper4rails/integration_test.rb
@@ -22,7 +22,7 @@ def generate(*args)
22 22
 
23 23
     def execute
24 24
       FileUtils.rm_rf(@directory)
25  
-      run("-S rails -fm #{rails_template} #{directory}")  
  25
+      run("-S rails _2.3.8_ -fm #{rails_template} #{directory}")
26 26
       FileUtils.cd(@directory) do
27 27
         @generator_args.each do |arg|
28 28
           run("script/generate #{arg}")  

0 notes on commit 4315c5a

Please sign in to comment.
Something went wrong with that request. Please try again.