I have been using the minitest-rails gem, and everything works great when I run:
rake minitest:models
However, I recently switched to the minitest-spec-rails gem, and when I run that same command I get this error:
"Don't know how to build task 'minitest:models'"
Anyone know what the difference (in this regard) is between the two gems?
This is my rake file (that works with rake minitest:models)
require "rake/testtask"
Rake::TestTask.new(:test => "db:test:prepare") do |t|
t.libs << "test"
t.pattern = "test/**/*_test.rb"
end
task :default => :test