Sha256: 78544b58249461eddc22c540d6430efa6e8cfa0d2f4570c75de0fd6843d17b6a

Contents?: true

Size: 356 Bytes

Versions: 37

Compression:

Stored size: 356 Bytes

Contents

desc "Run tests"
task :test => %w(db:reset:test test:models test:resources)

namespace :test do
  
  desc "Run model tests"
  Rake::TestTask.new(:models) do |t|
    t.test_files = FileList["test/models/*_test.rb"]
  end

  desc "Run other tests"
  Rake::TestTask.new(:resources) do |t|
    t.test_files = FileList["test/resources/**/*_test.rb"]
  end

end

Version data entries

37 entries across 37 versions & 1 rubygems

Version Path
sinatra_resource-0.4.1 examples/datacatalog/tasks/test.rake
sinatra_resource-0.4.0 examples/datacatalog/tasks/test.rake
sinatra_resource-0.3.6 examples/datacatalog/tasks/test.rake
sinatra_resource-0.3.5 examples/datacatalog/tasks/test.rake
sinatra_resource-0.3.4 examples/datacatalog/tasks/test.rake
sinatra_resource-0.3.3 examples/datacatalog/tasks/test.rake
sinatra_resource-0.3.2 examples/datacatalog/tasks/test.rake
sinatra_resource-0.3.1 examples/datacatalog/tasks/test.rake
sinatra_resource-0.3.0 examples/datacatalog/tasks/test.rake
sinatra_resource-0.2.6 examples/datacatalog/tasks/test.rake
sinatra_resource-0.2.5 examples/datacatalog/tasks/test.rake
sinatra_resource-0.2.4 examples/datacatalog/tasks/test.rake
sinatra_resource-0.2.3 examples/datacatalog/tasks/test.rake
sinatra_resource-0.2.2 examples/datacatalog/tasks/test.rake
sinatra_resource-0.2.1 examples/datacatalog/tasks/test.rake
sinatra_resource-0.2.0 examples/datacatalog/tasks/test.rake
sinatra_resource-0.1.0 examples/datacatalog/tasks/test.rake