lib/tasks/bbq.rake in bbq-0.0.2.beta.2 vs lib/tasks/bbq.rake in bbq-0.0.2.beta.3

- old
+ new

@@ -1,15 +1,15 @@ require 'rake/testtask' Rake::TestTask.new("test:acceptance") do |t| t.libs << 'test' - t.pattern = 'test/acceptance/*_test.rb' + t.pattern = 'test/acceptance/**/*_test.rb' t.verbose = false end if File.exists?('test/acceptance') begin require 'rspec/core/rake_task' RSpec::Core::RakeTask.new('spec:acceptance') do |spec| - spec.pattern = FileList['spec/acceptance/*_spec.rb'] + spec.pattern = FileList['spec/acceptance/**/*_spec.rb'] end if File.exists?('spec/acceptance') rescue LoadError end