Remove spec for private method
Add rspec config
Fix failing spec caused by untested change