Sha256: 5c5bab1a3ee6cd6c44ca9a8c23bf27eb026d0179dc93254839b72b2061b138f7
Contents?: true
Size: 533 Bytes
Versions: 5
Compression:
Stored size: 533 Bytes
Contents
{ spec: 'RSpec::Core::RakeTask', test: 'Rake::TestTask' }.each do |test_lib, rake_task| if Rake::Task.task_defined?(test_lib) Rake::Task[test_lib].clear chili_specs = "#{Chili::FEATURE_FOLDER}/**/#{test_lib}/**/*_#{test_lib}.rb" task = rake_task.constantize.new(test_lib => 'test:prepare') task.pattern = [task.pattern, chili_specs] namespace test_lib do desc "Run tests for all Chili features" rake_task.constantize.new(:chili) do |t| t.pattern = chili_specs end end end end
Version data entries
5 entries across 5 versions & 1 rubygems
Version | Path |
---|---|
chili-4.0.1 | lib/tasks/chili.rake |
chili-4.0.0 | lib/tasks/chili.rake |
chili-3.1.1 | lib/tasks/chili.rake |
chili-3.1.0 | lib/tasks/chili.rake |
chili-3.0.0 | lib/tasks/chili.rake |