Sha256: 17d0fc5d9675b9c3bd4f24163311dd819d284c625e84a9f38baf0874e2b36013

Contents?: true

Size: 451 Bytes

Versions: 4

Compression:

Stored size: 451 Bytes

Contents

require 'rake/testtask'
 
desc 'Test the scoped_search plugin.'
Rake::TestTask.new(:test) do |t|
  t.pattern = 'test/**/*_test.rb'
  t.verbose = true
  t.libs << 'test'
  
  # options are sqlite3, mysql or postgresql.  The default
  # is sqlite3 if not specified or if the parameter is invalid.
  # If DATABASE is mysql then the MYSQLSOCKET can also be set if needed.
  ENV['DATABASE'] = ENV['DATABASE'].nil? ? 'sqlite3' : ENV['DATABASE'].downcase
end

Version data entries

4 entries across 4 versions & 2 rubygems

Version Path
jnewland-scoped_search-0.7.1 test/tasks.rake
wvanbergen-scoped_search-0.7.0 test/tasks.rake
wvanbergen-scoped_search-0.7.2 test/tasks.rake
wvanbergen-scoped_search-0.7.3 tasks/test.rake