Pointing to Rails 4.0.0

* Point to Rails 4.0.0
* Name the version `4.0.0`
* Replace some deprecated rspec methods