File: todo.txt

package info (click to toggle)
ruby-flexmock 3.0.2-1
  • links: PTS, VCS
  • area: main
  • in suites: forky, sid
  • size: 840 kB
  • sloc: ruby: 7,598; makefile: 6
file content (20 lines) | stat: -rw-r--r-- 510 bytes parent folder | download | duplicates (5)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
Short term things to do:

* Explicit => Explicitly

DONE

* Consolidate mock argument matching and spy argument matching
* Consolidate mock block detection and spy block detection.
* Consolidate the :on option with mocks
* Pass through mode for partial mocks
* Update readme
* auto-mock class when using base_class

IDEAS

spy.should have_received(:foo).with(arg1, arg2)  # PREFERRED
spy.should have_received.foo(arg1, arg2)

assert_called spy, :foo, arg1, arg2
assert_spy(spy).received(:foo).with(arg1, arg2)