1
0
Fork 0
mirror of https://github.com/rails/rails.git synced 2022-11-09 12:12:34 -05:00
Commit graph

5 commits

Author SHA1 Message Date
Ronak Jangir
63a70ad6ff Cleaned up generators tests using internal assertion helper 2015-08-20 09:22:56 +05:30
Ronak Jangir
e49c2cd743 Replacing lambda with proc getting argument error because of it. 2015-08-17 20:28:00 +05:30
Ronak Jangir
bfe7532876 Added helper methods to stub any instance 2015-08-13 08:32:35 +05:30
Kasper Timm Hansen
46b92c4d12 Add multiple expected calls to assert_called_with. 2015-07-10 23:45:42 +02:00
Kasper Timm Hansen
53f64c0fb2 Add method call assertions for internal use.
Add `assert_called` and `assert_not_called` to boil down the boilerplate we need to write
to assert methods are called certain number of times.
2015-07-08 21:15:27 +02:00