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.21 examples/datacatalog/tasks/test.rake
sinatra_resource-0.4.20 examples/datacatalog/tasks/test.rake
sinatra_resource-0.4.19 examples/datacatalog/tasks/test.rake
sinatra_resource-0.4.18 examples/datacatalog/tasks/test.rake
sinatra_resource-0.4.17 examples/datacatalog/tasks/test.rake
sinatra_resource-0.4.16 examples/datacatalog/tasks/test.rake
sinatra_resource-0.4.15 examples/datacatalog/tasks/test.rake
sinatra_resource-0.4.14 examples/datacatalog/tasks/test.rake
sinatra_resource-0.4.13 examples/datacatalog/tasks/test.rake
sinatra_resource-0.4.12 examples/datacatalog/tasks/test.rake
sinatra_resource-0.4.11 examples/datacatalog/tasks/test.rake
sinatra_resource-0.4.10 examples/datacatalog/tasks/test.rake
sinatra_resource-0.4.9 examples/datacatalog/tasks/test.rake
sinatra_resource-0.4.8 examples/datacatalog/tasks/test.rake
sinatra_resource-0.4.7 examples/datacatalog/tasks/test.rake
sinatra_resource-0.4.6 examples/datacatalog/tasks/test.rake
sinatra_resource-0.4.5 examples/datacatalog/tasks/test.rake
sinatra_resource-0.4.4 examples/datacatalog/tasks/test.rake
sinatra_resource-0.4.3 examples/datacatalog/tasks/test.rake
sinatra_resource-0.4.2 examples/datacatalog/tasks/test.rake