File: ruby-tests.rake

package info (click to toggle)
ruby-fakefs 2.5.0-3
  • links: PTS, VCS
  • area: main
  • in suites: forky, sid, trixie
  • size: 536 kB
  • sloc: ruby: 7,171; makefile: 5
file content (14 lines) | stat: -rw-r--r-- 250 bytes parent folder | download | duplicates (3)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
require 'rake/testtask'
require 'rspec/core/rake_task'

ENV['LANG'] = 'C.UTF-8'

Rake::TestTask.new do |t|
  t.libs << 'test'
  t.test_files = FileList['test/**/*test.rb']
end

desc 'Run specs'
RSpec::Core::RakeTask.new

task default: [:test, :spec]