File: ruby-tests.rake

package info (click to toggle)
ruby-fog-atmos 0.1.0-3
  • links: PTS, VCS
  • area: main
  • in suites: stretch
  • size: 260 kB
  • ctags: 121
  • sloc: ruby: 1,050; makefile: 2
file content (25 lines) | stat: -rw-r--r-- 491 bytes parent folder | download
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25

require 'gem2deb/rake/testtask'

Rake::TestTask.new do |t|
  t.libs.push %w(spec)
  t.test_files = FileList['spec/**/*_spec.rb']
  t.verbose = true
end

desc 'Default Task'
task :default => [ :test, 'test:travis' ]

namespace :test do
  mock = ENV['FOG_MOCK'] || 'true'
  task :travis do
      system 'FOG_MOCK=true shindo'
  end
end

#require 'gem2deb/rake/testtask'

#Gem2Deb::Rake::TestTask.new do |t|
  #t.libs << 'lib' << 'tests'
  #t.test_files = FileList['tests/**/*_tests.rb']
#end