Permalink
Browse files

generate rspec.rake again

- catch 22 - rake tasks in railties in gems that are part of the test
  environment don't get loaded without specifying RAILS_ENV
  • Loading branch information...
dchelimsky committed Jun 3, 2010
1 parent 1c495f9 commit 9e304f978682b291ca82fb577f1e47de34fab148
@@ -15,6 +15,10 @@ def copy_spec_files
directory 'spec'
end
def copy_lib_files
directory 'lib'
end
def copy_autotest_files
directory 'autotest'
end
@@ -66,3 +66,4 @@ namespace :spec do
::CodeStatistics::TEST_TYPES << "Request specs" if File.exist?('spec/requests')
end
end
View
@@ -3,10 +3,6 @@ module Rails
class Railtie < ::Rails::Railtie
config.generators.integration_tool :rspec
config.generators.test_framework :rspec
rake_tasks do
load "rspec/rails/tasks/rspec.rake"
end
end
end
end
end

0 comments on commit 9e304f9

Please sign in to comment.