implements sale model and updates specs to Rspec 3 syntax