Michael Miller
|
365bd1ec2f
|
Fix failing tests
|
2019-04-06 12:48:41 -06:00 |
|
Michael Miller
|
268db53bf8
|
Use more sensible label for non-labeled procs
|
2019-03-23 20:23:31 -06:00 |
|
Michael Miller
|
c156c55c72
|
Inspect the underlying value
This is needed because MatchDataValue is now a class instead of a
struct.
|
2019-03-22 11:55:04 -06:00 |
|
Michael Miller
|
3dd39f17f5
|
Fix Expectation spec
|
2019-03-22 11:07:56 -06:00 |
|
Michael Miller
|
0ca0ba0a55
|
Fix tests to account for negation wrappers
|
2019-03-07 16:12:23 -07:00 |
|
Michael Miller
|
5fd1547ced
|
Fix verbage around failure message
|
2019-03-06 12:01:32 -07:00 |
|
Michael Miller
|
4e3290ebfe
|
Initial code to get match data values to output
Expose the match data values through the Expectation class.
|
2019-02-28 16:35:50 -07:00 |
|
Michael Miller
|
5ba03a90ff
|
Swap label and expected value parameters
This matches the partial initializer parameters.
Also cleaned up some code in the Expectation spec.
|
2019-02-28 15:17:12 -07:00 |
|
Michael Miller
|
b4af87f903
|
Fix fallout from last commit in Expectation spec
All tests pass in this commit!
|
2019-02-28 13:52:01 -07:00 |
|
Michael Miller
|
0dd66c8803
|
Update Expectation spec to use new parameters
|
2019-02-28 11:07:16 -07:00 |
|
Michael Miller
|
88c32b697b
|
Add tests for source file and line
|
2019-02-14 19:35:42 -07:00 |
|
Michael Miller
|
1507a447c8
|
Update specs to use new source arguments
Used `new_partial` where the underlying partial didn't matter for the
test.
|
2019-02-14 17:04:59 -07:00 |
|
Michael Miller
|
3731b6d785
|
Remove BlockExpectation
|
2019-01-31 13:32:34 -07:00 |
|
Michael Miller
|
ff4e148509
|
Rename ValueExpectation to Expectation in tests
|
2019-01-31 13:30:09 -07:00 |
|
Michael Miller
|
2863ae7dfe
|
Add spec for block expectation and partial
|
2019-01-28 16:03:33 -07:00 |
|
Michael Miller
|
d576e4a1fa
|
Missing # prefix for #to_not and #not_to
|
2018-11-19 22:00:45 -07:00 |
|
Michael Miller
|
195e34d360
|
Add tests for #to and #to_not
|
2018-11-14 13:10:42 -07:00 |
|
Michael Miller
|
f0204a32ea
|
Fix specs to work with new Expectation type
|
2018-11-14 02:15:55 -07:00 |
|
Michael Miller
|
16519db9bb
|
Rename #report_results to #generate_results
|
2018-10-20 20:13:47 -06:00 |
|
Michael Miller
|
67e192edc6
|
Implement ExpectationResults specs and fix typo
|
2018-10-19 16:27:59 -06:00 |
|
Michael Miller
|
703a791f78
|
Formatting changes
|
2018-10-19 14:02:27 -06:00 |
|
Michael Miller
|
1064444f15
|
DRY up code by adding expectation helper methods
|
2018-10-19 13:54:32 -06:00 |
|
Michael Miller
|
440a2c6643
|
Structure for ExpectationResults spec
|
2018-10-19 13:28:44 -06:00 |
|
Michael Miller
|
7d08d38659
|
Add specs for ExpectationReporter
There is currently a segfault with this test code.
The issue will be addressed in the next commit.
|
2018-10-19 13:03:13 -06:00 |
|
Michael Miller
|
15ac60b17b
|
Remove unecessary #to_s calls
|
2018-10-19 11:01:22 -06:00 |
|
Michael Miller
|
7f4690b042
|
Secondary initializer for missing label
Label is set to actual/expected stringified value if omitted.
|
2018-10-18 21:52:00 -06:00 |
|
Michael Miller
|
9a77f8b7fd
|
Add specs for value expectation
Fix bug in expectation result actual message.
|
2018-10-18 17:54:43 -06:00 |
|
Michael Miller
|
3196b724bf
|
Some initial specs for expectation partials
|
2018-10-15 15:45:32 -06:00 |
|