put rspec-rails to 2.12.2 version as latest 2.14.2 was giving errors
put rspec-rails version to 2.12.2 as 2.14 was causing errors