Commit graph

17 commits

Author SHA1 Message Date
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