Adding rspec's 'expect' syntax to examples in documentation

Finishing what 06c4497c0ad44a716437c13568a1d6c56c5b215e started