Fixed the unit tests in Rails.

**** IMPORTANT ****

This file was causing all the build errors on Travis CI. As the parameters to the 
get method of rails were not being passed in properly.

Everything has been fixed now, and it works properly!

Signed-off-by: icyflame <kannan.siddharth12@gmail.com>