Sha256: 78ac7dea697ef347240eee52608e01ed2edc67872ab42cc6cf4aa89e372021a5
Contents?: true
Size: 535 Bytes
Versions: 5
Compression:
Stored size: 535 Bytes
Contents
begin if defined? RSpec # otherwise fails on non-live environments task(:spec).clear desc "Run all specs/features in spec directory" RSpec::Core::RakeTask.new(:spec => 'db:test:prepare') do |t| t.pattern = './spec{,/*/**}*{_spec.rb,.feature}' end namespace :spec do desc "Run the code examples in spec/acceptance" RSpec::Core::RakeTask.new(:acceptance => 'db:test:prepare') do |t| t.pattern = './spec/acceptance/{,/*/**}*{_spec.rb,.feature}' end end end end
Version data entries
5 entries across 5 versions & 1 rubygems