Refactor basket specs
Add .ruby-version
Refactor specs