added rspec generator specs