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']
2016-04-11 15:27:23 +02:00
t.ruby_opts += ['-W1']
2014-03-14 13:12:21 +01:00
end