frankfurter/lib/tasks/test.rake

10 lines
196 B
Ruby
Raw Normal View History

# frozen_string_literal: true
2014-03-14 13:12:21 +01:00
require 'rake/testtask'
2014-03-14 13:49:16 +01:00
Rake::TestTask.new(test: :environment) do |t|
2014-03-14 13:12:21 +01:00
t.libs.push('lib')
t.test_files = FileList['spec/*_spec.rb']
2017-01-03 14:51:07 +01:00
t.ruby_opts += ['-W0']
2014-03-14 13:12:21 +01:00
end