File tree 1 file changed +5
-4
lines changed 1 file changed +5
-4
lines changed Original file line number Diff line number Diff line change @@ -55,22 +55,23 @@ module Its
55
55
# its(['admin']) { should eq(:all_permissions) }
56
56
# its(['john_doe', :permissions]) { should eq([:read, :write]) }
57
57
#
58
- # # You can still access to its regular methods this way:
58
+ # # You can still access its regular methods this way:
59
59
# its(:keys) { should include(:max_users) }
60
60
# its(:count) { should eq(2) }
61
61
# end
62
62
#
63
63
# With an implicit subject, `is_expected` can be used as an alternative
64
- # to `should` (e.g. for one-liner use)
64
+ # to `should` (e.g. for one-liner use). An `are_expected` alias is also
65
+ # supplied.
65
66
#
66
67
# @example
67
68
#
68
69
# describe Array do
69
70
# its(:size) { is_expected.to eq(0) }
70
71
# end
71
72
#
72
- # You can pass more than one arguments on the `its` block to add
73
- # some options to the generated example
73
+ # You can pass more than one argument on the `its` block to add
74
+ # some metadata to the generated example
74
75
#
75
76
# @example
76
77
#
You can’t perform that action at this time.
0 commit comments