Docs: Fix readme re: have_a_version_with_changes

This commit is contained in:
Pascal Andermatt 2017-04-06 17:03:25 +02:00 committed by Jared Beck
parent fdbb489d7e
commit 44cba3c5fb
1 changed files with 3 additions and 3 deletions

View File

@ -1417,9 +1417,9 @@ describe '`have_a_version_with_changes` matcher' do
end
it "is possible to do assertions on version changes" do
expect(widget).to have_a_version_with name: 'Leonard', an_integer: 2
expect(widget).to have_a_version_with an_integer: 2
expect(widget).to have_a_version_with name: 'Bob'
expect(widget).to have_a_version_with_changes name: 'Leonard', an_integer: 2
expect(widget).to have_a_version_with_changes an_integer: 2
expect(widget).to have_a_version_with_changes name: 'Bob'
end
end
```