tak1n/rack-simple_auth

View on GitHub
task/test.rake

Summary

Maintainability
Test Coverage
namespace :test do
  # Rake::TestTask.new(:unit) do |t|
    # t.libs << "test" << "bin" << "ext" << "controllers" << "helpers" << "models"
    # t.test_files = FileList['test/**/*_test.rb']
    # t.verbose = true
  # end

  Rake::TestTask.new(:spec) do |t|
    t.libs << "spec" << "bin" << "ext" << "controllers" << "helpers" << "models"
    t.test_files = FileList['spec/**/*_spec.rb']
    t.verbose = true
  end

  # RSpec::Core::RakeTask.new('spec')

  # Cucumber::Rake::Task.new(:feature) do |t|
    # t.cucumber_opts = "features --format pretty"
  # end
end