Commit graph

32 commits

Author SHA1 Message Date
Michael Miller
a6149b2671
Use before instead of before_each (same for after) 2022-11-04 16:56:03 -06:00
Michael Miller
0704fd2a48
Adjust evaluation order of change matcher expressions
Handles reference types better and matches RSpec more closely.
2022-05-14 23:30:15 -06:00
Michael Miller
be79367256
Formatting 2022-01-07 17:27:25 -07:00
Michael Miller
dcdc64e134
Specify skip reason 2021-06-11 19:30:23 -06:00
Davide Paolo Tua
83ac420273 Add test for fix, fix test for range_matcher 2020-02-21 13:19:27 +01:00
Michael Miller
cacca99c0b Formatting 2020-01-20 20:32:14 -07:00
Michael Miller
721425c3c8 Run deferred expectations after all hooks 2020-01-20 20:15:49 -07:00
Michael Miller
1e3d89884b Add some RSpec docs tests for hooks 2020-01-20 20:11:19 -07:00
Michael Miller
60f1c3091b Allow be matcher to be used on structs 2020-01-19 22:39:21 -07:00
Michael Miller
3d08949c94 Add helper method specs from RSpec docs 2020-01-19 22:24:28 -07:00
Michael Miller
b1984b343a Add should keywords to examples
Allows short-hand like:
it { should be_empty }
2020-01-19 22:12:06 -07:00
Michael Miller
8381c08b05 Add subject specs 2020-01-19 22:05:38 -07:00
Michael Miller
64f6456935 Merge branch 'specs' 2020-01-19 09:52:41 -07:00
Michael Miller
15f211c4b6 Add it_fails to handle expected failures 2020-01-17 22:41:38 -07:00
Michael Miller
e3a4dedfc6 Add RSpec respond_to matcher spec 2020-01-17 22:14:25 -07:00
Michael Miller
ed48b80d58 Add RSpec raise_error matcher spec 2020-01-17 21:58:29 -07:00
Michael Miller
596f7e87c8 Formatting 2020-01-17 09:27:48 -07:00
Arina Shmeleva
cf448576e2 Add test for subject 2020-01-17 00:49:59 +03:00
Michael Miller
6a0a73ca76 Add RSpec match matcher spec 2020-01-06 23:05:31 -07:00
Michael Miller
b433511201 Add RSpec include/contain matcher spec 2020-01-06 22:51:47 -07:00
Michael Miller
6ad861365c Add RSpec have_attributes matcher spec 2020-01-06 22:33:52 -07:00
Michael Miller
f23141b3e1 Add RSpec start_with and end_with matchers specs 2020-01-06 22:19:09 -07:00
Michael Miller
7868755eee Add RSpec cover matcher spec 2020-01-05 23:02:09 -07:00
Michael Miller
5bbaad36d2 Add RSpec contain_exactly matcher spec 2020-01-05 11:42:43 -07:00
Michael Miller
26656b7c12 Add RSpec change matcher spec 2020-01-05 10:35:35 -07:00
Michael Miller
e17435f6e8 Add RSpec be_within matcher spec 2020-01-05 10:28:21 -07:00
Michael Miller
1f7ac79c78 Add RSpec be matchers spec 2020-01-05 00:29:10 -07:00
Michael Miller
80c4e97c29 Add RSpec all matchers spec 2020-01-05 00:12:57 -07:00
Michael Miller
42ef2cc904 Add RSpec type matchers spec 2020-01-04 12:47:23 -07:00
Michael Miller
2538f3a9a4 Add RSpec predicate matchers spec 2020-01-04 09:58:53 -07:00
Michael Miller
7f8d9d5ef3 Add comparison tests from RSpec docs 2020-01-02 20:00:51 -07:00
Michael Miller
9f91e3a266 Add tests for equality matcher 2020-01-01 21:58:37 -07:00