Skip to content

Commit

Permalink
update rake task to skip task on 4.1
Browse files Browse the repository at this point in the history
  • Loading branch information
JonRowe committed Feb 26, 2014
1 parent aa5c5f7 commit b8680f9
Showing 1 changed file with 3 additions and 1 deletion.
4 changes: 3 additions & 1 deletion lib/rspec/rails/tasks/rspec.rake
Expand Up @@ -21,7 +21,9 @@ namespace :spec do


task :prepare do task :prepare do
if Rails.configuration.generators.options[:rails][:orm] == :active_record if Rails.configuration.generators.options[:rails][:orm] == :active_record
Rake::Task["test:prepare"].invoke if ::Rails::VERSION::STRING.to_f < 4.1
Rake::Task["test:prepare"].invoke
end
end end
end end


Expand Down

0 comments on commit b8680f9

Please sign in to comment.