cipele46/cipele46-web

View on GitHub
lib/tasks/rspec.rake

Summary

Maintainability
Test Coverage
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
end