I have the following Rakefile
desc "Runs tests"
namespace :test do
task :api do
`mocha`
end
end
When I run the command rake test:api
, I don't get the nice output of dots that I would if I just ran the command mocha
.
How do I print the output of a command real-time in a rake task?