Skip to content

Commit

Permalink
Adjust README wording for [] access
Browse files Browse the repository at this point in the history
  • Loading branch information
palfvin committed Oct 29, 2014
1 parent 38fdc24 commit b550deb
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion README.md
Original file line number Diff line number Diff line change
Expand Up @@ -37,7 +37,7 @@ attribute of the attribute of the subject).
its("phone_numbers.size") { should_not eq(0) }

When the subject implements the `[]` operator, you can pass in an array with a single key to
access the value of that operator.
refer to the value returned by that operator when passed that key as an argument.

its([:key]) { is_expected.to eq(value) }

Expand Down

0 comments on commit b550deb

Please sign in to comment.