README.md in rspec-expect_it-1.0.2 vs README.md in rspec-expect_it-1.1.0

- old
+ new

@@ -45,20 +45,42 @@ If you want eager evaluation of the subject, use `expect_it!`. ```ruby subject { @value += 1 } -specify { expect_it!.to eq(@value) } +specify { expect_it!.to eq @value } ``` ### expect_it{} Calling `expect_it{}` is equivalent to `expect{subject}`. ```ruby subject { @value += 1 } specify { expect_it{}.to change{@value}.by(1) } +``` + +### expect_its + +Calling `expect_its(:method)` is equivalent to `expect(subject.method)`. +There is no `_safe` version of this helper. + +```ruby +subject { "foobar" } + +specify { expect_its(:length).to eq 6 } +``` + +### expect_its! + +If you want eager evaluation of the subject and method call, use `expect_its!`. +There is no `_safe` version of this helper. + +```ruby +subject { @value += 1 } + +specify { expect_its!(:to_s).to eq @value.to_s } ``` ### expect_it_safe The `expect_it_safe` helper is the same as `expect_it`, except that it will