Commit dd1f09fe by Daniel Mendler Committed by GitHub

Merge pull request #62 from junaruga/feature/minitest

Change testing framework from bacon to minitest.
parents 7d5b7162 872e8133
require 'rake/testtask'
task :default => %w(test) task :default => %w(test)
desc 'Run tests with bacon' desc 'Run tests with minitest'
task :test => FileList['test/*_test.rb'] do |t| Rake::TestTask.new do |t|
sh "bacon -q -Ilib:test #{t.prerequisites.join(' ')}" t.libs << 'test'
t.pattern = 'test/*_test.rb'
end end
desc 'Generate mime tables' desc 'Generate mime tables'
......
...@@ -19,6 +19,6 @@ Gem::Specification.new do |s| ...@@ -19,6 +19,6 @@ Gem::Specification.new do |s|
s.homepage = 'https://github.com/minad/mimemagic' s.homepage = 'https://github.com/minad/mimemagic'
s.license = 'MIT' s.license = 'MIT'
s.add_development_dependency('bacon') s.add_development_dependency('minitest', '~> 5.11')
s.add_development_dependency('rake') s.add_development_dependency('rake')
end end
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment