search for: task_defined

Displaying 1 result from an estimated 1 matches for "task_defined".

2008 Jul 09
2
Can I get RSpec NOT to abort rake on failing specs?
...ec_tasks %w{spec:controllers spec:models spec:helpers spec:views spec:lib} + spec_subdirs.map {|t| "spec:#{t}"} end begin require RAILS_ROOT + ''/vendor/plugins/rspec/lib/spec/rake/spectask'' namespace :spec do spec_subdirs.each do |task| next if Rake::Task.task_defined?("spec:#{task}") desc "Run the specs under spec/#{task}" Spec::Rake::SpecTask.new(task) do |t| t.fail_on_error = false t.spec_opts = [''--options'', "\"#{RAILS_ROOT}/spec/spec.opts\""] t.spec_files = FileList[&q...