Using Rspec to write contract tests example