Displaying 1 result from an estimated 1 matches for "spec_subdir".
Did you mean:
spec_subdirs
2008 Jul 09
2
Can I get RSpec NOT to abort rake on failing specs?
...ail_on_error which looks
like it SHOULD prevent terminating rake if it''s set to false. So I tried
that and it doesn''t seem to work. Here''s our projects lib/tasks/spec.rake,
any ideas?
def spec_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}&...