Add correct dependencies and spec helper for rspec
Fix indentation and whitespaces