Advertisement
Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- ### SETUP
- require 'rspec'
- ### LOGIC (fix me)
- def hello(who)
- "hello #{who}"
- end
- ### TEST CODE (don't touch me)
- describe '#hello' do
- it 'returns "hello world!" when "world" is passed in' do
- result = hello('world!')
- expect(result).to eq('hello world!')
- end
- end
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement