Generated rspec tests for code