Sha256: b005fa0b25375310fc85ca9219c23a569ba63eb1a48a1cc2f126b6498d0d4a2b

Contents?: true

Size: 354 Bytes

Versions: 3

Compression:

Stored size: 354 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

3 entries across 3 versions & 1 rubygems

Version Path
sinatra_resource-0.4.24 examples/datacatalog/tasks/test.rake
sinatra_resource-0.4.23 examples/datacatalog/tasks/test.rake
sinatra_resource-0.4.22 examples/datacatalog/tasks/test.rake