Adding a before controller in companies controller and rspec for that