added rspec
changes in spec controller