Permalink
Browse files

Make rails rake tasks depend on gem-making tasks

  • Loading branch information...
1 parent 912a441 commit d0b42639b2239762dde6c80bd10042957be5e92d @jasonm jasonm committed with jferris Mar 12, 2010
Showing with 1 addition and 1 deletion.
  1. +1 −1 Rakefile
View
@@ -195,7 +195,7 @@ def define_rails_cucumber_tasks(additional_cucumber_args = '')
namespace :rails do
RAILS_VERSIONS.each do |version|
desc "Test integration of the gem with Rails #{version}"
- task version do
+ task version => [:gemspec, :vendor_test_gems] do
puts "Testing Rails #{version}"
ENV['RAILS_VERSION'] = version
system("cucumber --format progress #{additional_cucumber_args} features/rails.feature")

0 comments on commit d0b4263

Please sign in to comment.