9 Matching Annotations
- Apr 2020
-
github.com github.com
-
Remember to call super in any subclasses that override teardown.
And yet the Rails core chose not to use RSpec, citing how it would be too easy to write
subject == expected
on accident?
-
-
guides.rubyonrails.org guides.rubyonrails.org
-
Rails also adds a test method that takes a test name and a block. It generates a normal Minitest::Unit test with method names prefixed with test_. So you don't have to worry about naming the methods, and you can write something like:
Or you could use the "it" format mentioned on https://devhints.io/minitest.
Or better yet, just use rspec...
-
-
github.com github.com
-
stackoverflow.com stackoverflow.com
-
github.com github.com
Tags
Annotators
URL
-