Most voted "minitest" questions
Minitest is the current Ruby on Rails default test library
Learn more…4 questions
Sort by count of
-
4
votes1
answer210
viewsRuby on Rails boot time
In Ruby on Rails, using the Minitest library, the test run time is fast. But the boot time before each rake test (...) is pretty annoying. Is there any way to make it faster? Updating I tried to…
-
4
votes3
answers176
viewsHow to work with tests and fixtures in a bank that contains foreign key constraints in Rails?
I am using Rubyonrails 4.1 and Postgresql database and use the Gem Foreigner to create foreign key restrictions in the bank. It turns out that this makes some tasks with fixtures. When I try to run…
-
1
votes1
answer26
viewsRuby unit test does not work
I am running a simple unit test and on my machine it does not show whether the test ran successfully or error. My code below should give a flaw. require 'minitest/autorun' class MagicBallTest <…
-
0
votes1
answer46
viewsHow to test the locals on a render?
I am with the following doubt, I do my tests using Ministest, but I have a problem when testing the locals of a render... I do not know how to test, example: Controller: def salvou…